debug icon indicating copy to clipboard operation
debug copied to clipboard

extend

Open davidmarkclements opened this issue 6 years ago • 1 comments

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 avatar Jun 04 '19 15:06 davidmarkclements

also a way to swap out the io stream:

Debug d('log');
Debug d.extend('error', std::cerr);

davidmarkclements avatar Jun 04 '19 15:06 davidmarkclements