public override System.Threading.Tasks.Task LogAsync(NuGet.Common.ILogMessage message) { throw null; }
void NuGet.Common.ILogger.Log(NuGet.Common.ILogMessage message) { LogMessage(message.Message, message.Level); }
public static string FormatWithCode(this NuGet.Common.ILogMessage message) { throw null; }
public override void Log(NuGet.Common.ILogMessage message) { }
Task NuGet.Common.ILogger.LogAsync(NuGet.Common.ILogMessage message) { return(Task.CompletedTask); }
public abstract System.Threading.Tasks.Task LogAsync(NuGet.Common.ILogMessage message);
public virtual void Log(NuGet.Common.ILogMessage message) { }
public void Log(NuGet.Common.ILogMessage message) { this.Log(message.Level, message.Message); }
public override void Log(ILogMessage message) { _logger.Log(ConvertLogLevel(message.Level), new EventId((int)message.Code), message.Message); }
public override Task LogAsync(ILogMessage message) { Log(message); return(Task.CompletedTask); }
public override Task LogAsync(NuGet.Common.ILogMessage m) { Log(m); return(Task.CompletedTask); }
public override void Log(NuGet.Common.ILogMessage m) { _logger?.Log(MapLevel(m.Level), m.Message); Logs.Add(m); }
public void Log(ILogMessage message) { Log(message.Level, message.Message); }
Task NuGet.Common.ILogger.LogAsync(NuGet.Common.ILogMessage message) { return(Task.Run(() => LogMessage(message.Message, message.Level))); }
public virtual System.Threading.Tasks.Task LogAsync(NuGet.Common.ILogMessage message) { throw null; }
public Task LogAsync(NuGet.Common.ILogMessage message) { Log(message); return(Task.CompletedTask); }
public abstract void Log(NuGet.Common.ILogMessage message);
public Task LogAsync(NuGet.Common.ILogMessage message) { this.Log(message.Level, message.Message); return(Task.CompletedTask); }
void NuGet.Common.ILogger.Log(NuGet.Common.ILogMessage message) { ((NuGet.Common.ILogger) this).Log(message.Level, $"{message.Time} - {message.Code} - {message.Message}"); }