mirror of
https://github.com/dlang/phobos.git
synced 2025-05-03 16:40:48 +03:00
Merge branch 'stable' of https://github.com/D-Programming-Language/phobos
This commit is contained in:
commit
032ef0fe9e
1 changed files with 3 additions and 2 deletions
|
@ -101,8 +101,9 @@ the logger.
|
||||||
$(H4 Printf Style Logging)
|
$(H4 Printf Style Logging)
|
||||||
If $(D printf)-style logging is needed add a $(B f) to the logging call, such as
|
If $(D printf)-style logging is needed add a $(B f) to the logging call, such as
|
||||||
$(D myLogger.infof("Hello %s", "world");) or $(D fatalf("errno %d", 1337)).
|
$(D myLogger.infof("Hello %s", "world");) or $(D fatalf("errno %d", 1337)).
|
||||||
The additional $(B f) enables $(D printf)-style logging for call combinations of
|
The additional $(B f) appended to the function name enables $(D printf)-style
|
||||||
explicit $(D LogLevel) and conditional logging functions and methods.
|
logging for all combinations of explicit $(D LogLevel) and conditional
|
||||||
|
logging functions and methods.
|
||||||
|
|
||||||
$(H4 Thread Local Redirection)
|
$(H4 Thread Local Redirection)
|
||||||
Calls to the free standing log functions are not directly forwarded to the
|
Calls to the free standing log functions are not directly forwarded to the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue