It's too hard to enable all log messages
Bug #1256015 reported by
Roger Peppe
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
loggo |
New
|
Undecided
|
Unassigned |
Bug Description
To enable all log messages, it seems like this is the necessary incantation:
loggo.
writer, _, err := loggo.RemoveWri
if err != nil {
panic(
}
loggo.
even with the error checking removed, this is still about two lines
too long, and unintuitive.
It would be preferable if the default was to print all log messages;
it's easier to restrict message flow where appropriate than
enable it (only one thing is strictly necessary), and it makes for a nicer initial user experience.
To post a comment you must log in.