We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
std.logger
1 parent 9e7d2f3 commit b3aee4dCopy full SHA for b3aee4d
std/logger/package.d
@@ -17,7 +17,7 @@ The easiest way to create a log message is to write:
17
import std.logger;
18
19
void main() {
20
- log("Hello World");
+ info("Hello World");
21
}
22
-------------
23
This will print a message to the `stderr` device. The message will contain
@@ -59,7 +59,7 @@ $(UL
59
$(LI `fatal`)
60
)
61
The default `Logger` will by default log to `stderr` and has a default
62
-`LogLevel` of `LogLevel.all`. The default Logger can be accessed by
+`LogLevel` of `LogLevel.info`. The default Logger can be accessed by
63
using the property called `sharedLog`. This property is a reference to the
64
current default `Logger`. This reference can be used to assign a new
65
default `Logger`.
0 commit comments