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