Example #1
0
 public override System.Threading.Tasks.Task LogAsync(NuGet.Common.ILogMessage message)
 {
     throw null;
 }
Example #2
0
 void NuGet.Common.ILogger.Log(NuGet.Common.ILogMessage message)
 {
     LogMessage(message.Message, message.Level);
 }
Example #3
0
 public static string FormatWithCode(this NuGet.Common.ILogMessage message)
 {
     throw null;
 }
Example #4
0
 public override void Log(NuGet.Common.ILogMessage message)
 {
 }
Example #5
0
 Task NuGet.Common.ILogger.LogAsync(NuGet.Common.ILogMessage message)
 {
     return(Task.CompletedTask);
 }
Example #6
0
 public abstract System.Threading.Tasks.Task LogAsync(NuGet.Common.ILogMessage message);
Example #7
0
 public virtual void Log(NuGet.Common.ILogMessage message)
 {
 }
Example #8
0
 public void Log(NuGet.Common.ILogMessage message)
 {
     this.Log(message.Level, message.Message);
 }
Example #9
0
 public override void Log(ILogMessage message)
 {
     _logger.Log(ConvertLogLevel(message.Level), new EventId((int)message.Code), message.Message);
 }
Example #10
0
 public override Task LogAsync(ILogMessage message)
 {
     Log(message);
     return(Task.CompletedTask);
 }
Example #11
0
 public override Task LogAsync(NuGet.Common.ILogMessage m)
 {
     Log(m);
     return(Task.CompletedTask);
 }
Example #12
0
 public override void Log(NuGet.Common.ILogMessage m)
 {
     _logger?.Log(MapLevel(m.Level), m.Message);
     Logs.Add(m);
 }
Example #13
0
 public void Log(ILogMessage message)
 {
     Log(message.Level, message.Message);
 }
Example #14
0
 Task NuGet.Common.ILogger.LogAsync(NuGet.Common.ILogMessage message)
 {
     return(Task.Run(() => LogMessage(message.Message, message.Level)));
 }
Example #15
0
 public virtual System.Threading.Tasks.Task LogAsync(NuGet.Common.ILogMessage message)
 {
     throw null;
 }
Example #16
0
 public Task LogAsync(NuGet.Common.ILogMessage message)
 {
     Log(message);
     return(Task.CompletedTask);
 }
Example #17
0
 public abstract void Log(NuGet.Common.ILogMessage message);
Example #18
0
 public Task LogAsync(NuGet.Common.ILogMessage message)
 {
     this.Log(message.Level, message.Message);
     return(Task.CompletedTask);
 }
Example #19
0
 void NuGet.Common.ILogger.Log(NuGet.Common.ILogMessage message)
 {
     ((NuGet.Common.ILogger) this).Log(message.Level, $"{message.Time} - {message.Code} - {message.Message}");
 }