-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Figure out logging output #22
Comments
I have a couple of points:
|
Thanks for your thoughts @tailhook!
I agree, but it would be fairly easy to add support for users defining them with a
We could handle this with a wrapper over EDIT: I suppose you'd need a format that calls Any other thoughts you have here would be much appreciated!
Yeh I'm not too sure about this either... We'd have to build some infrastructure around the type passed to the format to support colour if it's available. Seems like a lot of work for not a whole lot of gain. I would call this a low priority.
I agree, So my thoughts thus far are that we don't need to fundamentally change the way |
…mat-args Have clippy warn about uninlined format arguments
We've got a couple of open questions related to the logging sink:
stdout
,stderr
and null)stderr
when there are multiple threads/processes involved (Avoid allocation of String during formatting. #19 (comment))It would be good to iterate towards a design that satisfies all these things, without complicating things too much. I think it might be worth looking at opening up the
Target
enum into a trait, and seeing where that gets us.Issues to file
stderr
The text was updated successfully, but these errors were encountered: