A proper logger
Closed this issue · 6 comments
jeaye commented
With colors, module names, line numbers, etc.
jeaye commented
Thread safety?
evincarofautumn commented
Is it possible to make log_*
variadic and take a fmt!
-style format string? You seem to be doing log_info(fmt!(...))
(and kin) quite a bit.
jeaye commented
It already is! :) See https://github.com/Jeaye/q3/blob/master/src/main.rs#L179 or similar.
evincarofautumn commented
Oh, you’re one step ahead of me. I was referring to these:
jeaye commented
Those are... an artifact of my inconsistencies. >.< Thanks for the tip; I'll sleep better when they've been cleaned up.
jeaye commented
Thread safety is not a problem, thanks to TLS.