Skip to content

Commit

Permalink
Fix documentation typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
veelo authored and dlang-bot committed May 1, 2024
1 parent ffe00eb commit c970ca6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions std/logger/core.d
Original file line number Diff line number Diff line change
Expand Up @@ -1473,15 +1473,15 @@ if (sharedLog !is myLogger)
atomicStore!(MemoryOrder.seq)(stdSharedLogger, atomicLoad(logger));
}

/** This methods get and set the global `LogLevel`.
/** These methods get and set the global `LogLevel`.
Every log message with a `LogLevel` lower as the global `LogLevel`
Every log message with a `LogLevel` lower than the global `LogLevel`
will be discarded before it reaches `writeLogMessage` method of any
`Logger`.
*/
/* Implementation note:
For any public logging call, the global log level shall only be queried once on
entry. Otherwise when another threads changes the level, we would work with
entry. Otherwise when another thread changes the level, we would work with
different levels at different spots in the code.
*/
@property LogLevel globalLogLevel() @safe @nogc
Expand Down

0 comments on commit c970ca6

Please sign in to comment.