Skip to content

Commit

Permalink
Merge pull request #5315 from schveiguy/fix15534
Browse files Browse the repository at this point in the history
Fix issue 15534 - [std.experimental.logger.core] Documentation mismatch
  • Loading branch information
burner committed Apr 3, 2017
2 parents 1ce2ede + 3f0daf0 commit 046bbbd
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions std/experimental/logger/core.d
Expand Up @@ -744,12 +744,14 @@ abstract class Logger
Logger logger;
}

/** This constructor takes a name of type $(D string), and a $(D LogLevel).
/**
Every subclass of `Logger` has to call this constructor from their
constructor. It sets the `LogLevel`, and creates a fatal handler. The fatal
handler will throw an `Error` if a log call is made with level
`LogLevel.fatal`.
Every subclass of $(D Logger) has to call this constructor from their
constructor. It sets the $(D LogLevel), the name of the $(D Logger), and
creates a fatal handler. The fatal handler will throw an $(D Error) if a
log call is made with a $(D LogLevel) $(D LogLevel.fatal).
Params:
lv = `LogLevel` to use for this `Logger` instance.
*/
this(LogLevel lv) @safe
{
Expand Down

0 comments on commit 046bbbd

Please sign in to comment.