Initialise strings (#7)

This commit is contained in:
Patrick Stevens
2025-05-18 18:47:33 +01:00
committed by GitHub
parent d85bfeb168
commit 03030cb79e
17 changed files with 840 additions and 312 deletions

View File

@@ -10,6 +10,10 @@ type LogLine =
Message : string
}
/// Human-readable representation of this log line.
override this.ToString () =
$"%s{this.LoggerName} [%O{this.Level}]: %s{this.Message}"
/// Very small, in-memory implementation of `ILoggerFactory` for unit tests.
[<RequireQualifiedAccess>]
module LoggerFactory =