From c970ca67f25eab9f975da285d6cb4a56902c525a Mon Sep 17 00:00:00 2001 From: Bastiaan Veelo Date: Wed, 1 May 2024 14:50:06 +0200 Subject: [PATCH] Fix documentation typos. --- std/logger/core.d | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/std/logger/core.d b/std/logger/core.d index 846f6ee214a..0633bddee81 100644 --- a/std/logger/core.d +++ b/std/logger/core.d @@ -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