MCPcopy Create free account
hub / github.com/Squirrel/Squirrel.Windows / Write

Method Write

src/Update/Program.cs:835–842  ·  view source on GitHub ↗
(string message, LogLevel logLevel)

Source from the content-addressed store, hash-verified

833 }
834
835 public void Write(string message, LogLevel logLevel)
836 {
837 if (logLevel < Level) {
838 return;
839 }
840
841 lock (gate) inner.WriteLine($"[{DateTime.Now.ToString("dd/MM/yy HH:mm:ss")}] {logLevel.ToString().ToLower()}: {message}");
842 }
843
844 public void Dispose()
845 {

Callers 1

mainMethod · 0.45

Calls 1

ToStringMethod · 0.45

Tested by

no test coverage detected