API Diff between 1.5.1 and 2.10.0-dev-01219
54 Additions
152 Removals
Serilog
-
public interface ILogger
- bool BindMessageTemplate(string messageTemplate, object[] propertyValues, out MessageTemplate parsedTemplate, out IEnumerable boundProperties)
- bool BindProperty(string propertyName, object value, bool destructureObjects, out LogEventProperty property)
- void Debug(string messageTemplate)
- void Debug<T>(string messageTemplate, T propertyValue)
- void Debug<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- void Debug<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
- void Debug(Exception exception, string messageTemplate)
- void Debug<T>(Exception exception, string messageTemplate, T propertyValue)
- void Debug<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- void Debug<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
- void Error(string messageTemplate)
- void Error<T>(string messageTemplate, T propertyValue)
- void Error<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- void Error<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
- void Error(Exception exception, string messageTemplate)
- void Error<T>(Exception exception, string messageTemplate, T propertyValue)
- void Error<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- void Error<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
- void Fatal(string messageTemplate)
- void Fatal<T>(string messageTemplate, T propertyValue)
- void Fatal<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- void Fatal<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
- void Fatal(Exception exception, string messageTemplate)
- void Fatal<T>(Exception exception, string messageTemplate, T propertyValue)
- void Fatal<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- void Fatal<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
- ILogger ForContext(ILogEventEnricher enricher)
- void Information(string messageTemplate)
- void Information<T>(string messageTemplate, T propertyValue)
- void Information<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- void Information<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
- void Information(Exception exception, string messageTemplate)
- void Information<T>(Exception exception, string messageTemplate, T propertyValue)
- void Information<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- void Information<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
- void Verbose(string messageTemplate)
- void Verbose<T>(string messageTemplate, T propertyValue)
- void Verbose<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- void Verbose<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
- void Verbose(Exception exception, string messageTemplate)
- void Verbose<T>(Exception exception, string messageTemplate, T propertyValue)
- void Verbose<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- void Verbose<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
- void Warning(string messageTemplate)
- void Warning<T>(string messageTemplate, T propertyValue)
- void Warning<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- void Warning<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
- void Warning(Exception exception, string messageTemplate)
- void Warning<T>(Exception exception, string messageTemplate, T propertyValue)
- void Warning<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- void Warning<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
- void Write(LogEventLevel level, string messageTemplate)
- void Write<T>(LogEventLevel level, string messageTemplate, T propertyValue)
- void Write<T0, T1>(LogEventLevel level, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- void Write<T0, T1, T2>(LogEventLevel level, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
- void Write(LogEventLevel level, Exception exception, string messageTemplate)
- void Write<T>(LogEventLevel level, Exception exception, string messageTemplate, T propertyValue)
- void Write<T0, T1>(LogEventLevel level, Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- void Write<T0, T1, T2>(LogEventLevel level, Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
-
public static class Log
- public static bool BindMessageTemplate(string messageTemplate, object[] propertyValues, out MessageTemplate parsedTemplate, out IEnumerable boundProperties)
- public static bool BindProperty(string propertyName, object value, bool destructureObjects, out LogEventProperty property)
- public static void CloseAndFlush()
- public static void Debug(string messageTemplate)
- public static void Debug<T>(string messageTemplate, T propertyValue)
- public static void Debug<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- public static void Debug<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
- public static void Debug(Exception exception, string messageTemplate)
- public static void Debug<T>(Exception exception, string messageTemplate, T propertyValue)
- public static void Debug<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- public static void Debug<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
- public static void Error(string messageTemplate)
- public static void Error<T>(string messageTemplate, T propertyValue)
- public static void Error<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- public static void Error<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
- public static void Error(Exception exception, string messageTemplate)
- public static void Error<T>(Exception exception, string messageTemplate, T propertyValue)
- public static void Error<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- public static void Error<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
- public static void Fatal(string messageTemplate)
- public static void Fatal<T>(string messageTemplate, T propertyValue)
- public static void Fatal<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- public static void Fatal<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
- public static void Fatal(Exception exception, string messageTemplate)
- public static void Fatal<T>(Exception exception, string messageTemplate, T propertyValue)
- public static void Fatal<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- public static void Fatal<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
- public static ILogger ForContext(ILogEventEnricher enricher)
- public static void Information(string messageTemplate)
- public static void Information<T>(string messageTemplate, T propertyValue)
- public static void Information<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- public static void Information<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
- public static void Information(Exception exception, string messageTemplate)
- public static void Information<T>(Exception exception, string messageTemplate, T propertyValue)
- public static void Information<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- public static void Information<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
- public static void Verbose(string messageTemplate)
- public static void Verbose<T>(string messageTemplate, T propertyValue)
- public static void Verbose<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- public static void Verbose<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
- public static void Verbose(Exception exception, string messageTemplate)
- public static void Verbose<T>(Exception exception, string messageTemplate, T propertyValue)
- public static void Verbose<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- public static void Verbose<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
- public static void Warning(string messageTemplate)
- public static void Warning<T>(string messageTemplate, T propertyValue)
- public static void Warning<T0, T1>(string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- public static void Warning<T0, T1, T2>(string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
- public static void Warning(Exception exception, string messageTemplate)
- public static void Warning<T>(Exception exception, string messageTemplate, T propertyValue)
- public static void Warning<T0, T1>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- public static void Warning<T0, T1, T2>(Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
- public static void Write(LogEventLevel level, string messageTemplate)
- public static void Write<T>(LogEventLevel level, string messageTemplate, T propertyValue)
- public static void Write<T0, T1>(LogEventLevel level, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- public static void Write<T0, T1, T2>(LogEventLevel level, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
- public static void Write(LogEventLevel level, Exception exception, string messageTemplate)
- public static void Write<T>(LogEventLevel level, Exception exception, string messageTemplate, T propertyValue)
- public static void Write<T0, T1>(LogEventLevel level, Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1)
- public static void Write<T0, T1, T2>(LogEventLevel level, Exception exception, string messageTemplate, T0 propertyValue0, T1 propertyValue1, T2 propertyValue2)
-
public class LoggerConfiguration
-
public static class LoggerExtensions
-
public static class LoggerConfigurationFullNetFxExtensions
- public static LoggerConfiguration AppSettings(this LoggerSettingsConfiguration settingConfiguration)
- public static LoggerConfiguration ColoredConsole(this LoggerSinkConfiguration sinkConfiguration, LogEventLevel restrictedToMinimumLevel = 0, string outputTemplate = "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level}] {Message}{NewLine}{Exception}", IFormatProvider formatProvider = null)
- public static LoggerConfiguration Console(this LoggerSinkConfiguration sinkConfiguration, LogEventLevel restrictedToMinimumLevel = 0, string outputTemplate = "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level}] {Message}{NewLine}{Exception}", IFormatProvider formatProvider = null)
- public static LoggerConfiguration DumpFile(this LoggerSinkConfiguration sinkConfiguration, string path, LogEventLevel restrictedToMinimumLevel = 0)
- public static LoggerConfiguration File(this LoggerSinkConfiguration sinkConfiguration, string path, LogEventLevel restrictedToMinimumLevel = 0, string outputTemplate = "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level}] {Message}{NewLine}{Exception}", IFormatProvider formatProvider = null, long? fileSizeLimitBytes = 1073741824)
- public static LoggerConfiguration FromLogContext(this LoggerEnrichmentConfiguration enrichmentConfiguration)
- public static LoggerConfiguration RollingFile(this LoggerSinkConfiguration sinkConfiguration, string pathFormat, LogEventLevel restrictedToMinimumLevel = 0, string outputTemplate = "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level}] {Message}{NewLine}{Exception}", IFormatProvider formatProvider = null, long? fileSizeLimitBytes = 1073741824, int? retainedFileCountLimit = 31)
- public static LoggerConfiguration Trace(this LoggerSinkConfiguration sinkConfiguration, LogEventLevel restrictedToMinimumLevel = 0, string outputTemplate = "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level}] {Message}{NewLine}{Exception}", IFormatProvider formatProvider = null)
- public static LoggerConfiguration WithMachineName(this LoggerEnrichmentConfiguration enrichmentConfiguration)
- public static LoggerConfiguration WithProcessId(this LoggerEnrichmentConfiguration enrichmentConfiguration)
- public static LoggerConfiguration WithThreadId(this LoggerEnrichmentConfiguration enrichmentConfiguration)
Serilog.Configuration
-
public class LoggerAuditSinkConfiguration
-
public class LoggerDestructuringConfiguration
-
public class LoggerEnrichmentConfiguration
-
public class LoggerMinimumLevelConfiguration
-
public class LoggerSinkConfiguration
- public static LoggerConfiguration Wrap(LoggerSinkConfiguration loggerSinkConfiguration, Func<ILogEventSink, ILogEventSink> wrapSink, Action<LoggerSinkConfiguration> configureWrappedSink)
- public static LoggerConfiguration Wrap(LoggerSinkConfiguration loggerSinkConfiguration, Func<ILogEventSink, ILogEventSink> wrapSink, Action<LoggerSinkConfiguration> configureWrappedSink, LogEventLevel restrictedToMinimumLevel, LoggingLevelSwitch levelSwitch)
- public LoggerConfiguration Conditional(Func<LogEvent, bool> condition, Action<LoggerSinkConfiguration> configureSink)
- public LoggerConfiguration Logger(Action<LoggerConfiguration> configureLogger, LogEventLevel restrictedToMinimumLevel = 0, LoggingLevelSwitch levelSwitch = null)
- public LoggerConfiguration Logger(ILogger logger, LogEventLevel restrictedToMinimumLevel = 0)
- public LoggerConfiguration Logger(Action<LoggerConfiguration> configureLogger, LogEventLevel restrictedToMinimumLevel = 0)
- public LoggerConfiguration Observers(Action<IObservable<LogEvent>> configureObservers, LogEventLevel restrictedToMinimumLevel = 0)
- public LoggerConfiguration Sink(ILogEventSink logEventSink, LogEventLevel restrictedToMinimumLevel = 0, LoggingLevelSwitch levelSwitch = null)
- public LoggerConfiguration Sink<TSink>(LogEventLevel restrictedToMinimumLevel = 0, LoggingLevelSwitch levelSwitch = null) where TSink : ILogEventSink
- public LoggerConfiguration Sink<TSink>(LogEventLevel restrictedToMinimumLevel = 0) where TSink : ILogEventSink
- public LoggerConfiguration TextWriter(TextWriter textWriter, LogEventLevel restrictedToMinimumLevel = 0, string outputTemplate = "{Timestamp} [{Level}] {Message}{NewLine}{Exception}", IFormatProvider formatProvider = null)
Serilog.Context
Serilog.Core
Serilog.Data
Serilog.Debugging
Serilog.Enrichers
Serilog.Events
Serilog.Formatting.Display
Serilog.Formatting.Json
Serilog.Sinks.IOFile
Serilog.Sinks.PeriodicBatching
Serilog.Sinks.RollingFile