[Issue 22532] std.experimental.logger Change default log level to LogLevel.warning, or LogLevel.off

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 22 00:56:32 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=22532

--- Comment #2 from Steven Schveighoffer <schveiguy at gmail.com> ---
When you don't log anything, and pages of low-level data is spewed to the
screen, I think you will more likely think that the library is broken. There is
no reasonable link between "I included some dub library" and "you have to set
the log level to avoid insane amounts of output".

On the other hand, if you are trying to use the logging facilities, you are
already looking at the documentation, and already willing to follow
instructions. If you try logging something and it doesn't work, you go back to
the already-open doc window, and read about why it didn't work.

The fact remains, no library will use logger because of the default verbosity,
including mysql-native.

--


More information about the Digitalmars-d-bugs mailing list