extend
davidmarkclements opened this issue · 1 comments
davidmarkclements commented
it's just sugar, but useful for encouraging convention:
Debug d('foo');
Debug d.extend('bar');
is the same as
Debug d('foo');
Debug d('foo:bar');
davidmarkclements commented
also a way to swap out the io stream:
Debug d('log');
Debug d.extend('error', std::cerr);