Пример #1
0
 public static void Verbose(this IJarvisLog log, FormattableString message)
 {
     log?.Write(LogLevel.Verbose, message);
 }
Пример #2
0
 public static void Debug(this IJarvisLog log, FormattableString message)
 {
     log?.Write(LogLevel.Debug, message);
 }
Пример #3
0
 public static void Verbose(this IJarvisLog log, string message)
 {
     log?.Write(LogLevel.Verbose, $"{message}");
 }
Пример #4
0
 public static void Information(this IJarvisLog log, FormattableString message)
 {
     log?.Write(LogLevel.Information, message);
 }
Пример #5
0
 public static void Debug(this IJarvisLog log, string message)
 {
     log?.Write(LogLevel.Debug, $"{message}");
 }
Пример #6
0
 public static void Warning(this IJarvisLog log, string message)
 {
     log?.Write(LogLevel.Warning, $"{message}");
 }
Пример #7
0
 public static void Information(this IJarvisLog log, string message)
 {
     log?.Write(LogLevel.Information, $"{message}");
 }
Пример #8
0
 public static void Error(this IJarvisLog log, FormattableString message)
 {
     log?.Write(LogLevel.Error, message);
 }
Пример #9
0
 public static void Error(this IJarvisLog log, string message)
 {
     log?.Write(LogLevel.Error, $"{message}");
 }
Пример #10
0
 public static void Fatal(this IJarvisLog log, FormattableString message)
 {
     log?.Write(LogLevel.Fatal, message);
 }
Пример #11
0
 public static void Fatal(this IJarvisLog log, string message)
 {
     log?.Write(LogLevel.Fatal, $"{message}");
 }
Пример #12
0
 public void Write(LogLevel level, FormattableString message)
 {
     _log.Write(level, $"[{_name}] {message.ToString(CultureInfo.InvariantCulture)}");
 }