From 814bb86e7a1d3f14f76bd9d6223f91dfd4f1eaa9 Mon Sep 17 00:00:00 2001 From: Robert burner Schadek Date: Thu, 7 Jan 2016 10:23:41 +0100 Subject: [PATCH] std.logger.minor_doc_fix * Bastiian Veelo spelling error from forum --- std/experimental/logger/package.d | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/std/experimental/logger/package.d b/std/experimental/logger/package.d index f46e64c5c..9bf614d45 100644 --- a/std/experimental/logger/package.d +++ b/std/experimental/logger/package.d @@ -68,7 +68,7 @@ required $(D Logger). $(H3 Logging Fundamentals) $(H4 LogLevel) -The $(D LogLevel) of an log call can be defined in two ways. The first is by +The $(D LogLevel) of a log call can be defined in two ways. The first is by calling $(D log) and passing the $(D LogLevel) explicit as the first argument. The second way of setting the $(D LogLevel) of a log call, is by calling either $(D trace), $(D info), $(D warning), @@ -101,8 +101,9 @@ the logger. $(H4 Printf Sytle Logging) If $(D printf)-style logging is needed add a $(B f) to the logging call, such as $(D myLogger.infof("Hello %s", "world");) or $(fatalf("errno %d", 1337)) -The additional $(B f) enables $(D printf)-style logging for call combinations of -explicit $(D LogLevel) and conditional logging functions and methods. +The additional $(B f) appended to the function name enables $(D printf)-style +logging for all combinations of explicit $(D LogLevel) and conditional +logging functions and methods. $(H4 Thread Local Redirection) Calls to the free standing log functions are not directly forwarded to the