<PackageReference Include="NLog" Version="6.1.3" />

NLog.ILoggerBase

public interface ILoggerBase
Obsolete and replaced by ILogger with NLog v5.3. Logger with only generic methods (passing 'LogLevel' to methods) and core properties.

Obsolete on the ILogger-interface, instead use Factory with NLog v5.3. Gets the factory that created this logger.

string Name { get; }

Gets the name of the logger.

Obsolete on the ILogger-interface, instead use LoggerReconfigured with NLog v5.3. Occurs when logger configuration changes.

bool IsEnabled(LogLevel level)

Gets a value indicating whether logging is enabled for the specified level.

void Log(LogLevel level, object value)

Writes the diagnostic message at the specified level.

void Log(LogLevel level, IFormatProvider formatProvider, object value)

Writes the diagnostic message at the specified level.

void Log(LogLevel level, string message, object arg1, object arg2)

Writes the diagnostic message at the specified level using the specified parameters.

void Log(LogLevel level, string message, object arg1, object arg2, object arg3)

Writes the diagnostic message at the specified level using the specified parameters.

void Log(LogLevel level, IFormatProvider formatProvider, string message, bool argument)

Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.

void Log(LogLevel level, string message, bool argument)

Writes the diagnostic message at the specified level using the specified value as a parameter.

void Log(LogLevel level, IFormatProvider formatProvider, string message, char argument)

Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.

void Log(LogLevel level, string message, char argument)

Writes the diagnostic message at the specified level using the specified value as a parameter.

void Log(LogLevel level, IFormatProvider formatProvider, string message, byte argument)

Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.

void Log(LogLevel level, string message, byte argument)

Writes the diagnostic message at the specified level using the specified value as a parameter.

void Log(LogLevel level, IFormatProvider formatProvider, string message, string argument)

Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.

void Log(LogLevel level, string message, string argument)

Writes the diagnostic message at the specified level using the specified value as a parameter.

void Log(LogLevel level, IFormatProvider formatProvider, string message, int argument)

Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.

void Log(LogLevel level, string message, int argument)

Writes the diagnostic message at the specified level using the specified value as a parameter.

void Log(LogLevel level, IFormatProvider formatProvider, string message, long argument)

Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.

void Log(LogLevel level, string message, long argument)

Writes the diagnostic message at the specified level using the specified value as a parameter.

void Log(LogLevel level, IFormatProvider formatProvider, string message, float argument)

Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.

void Log(LogLevel level, string message, float argument)

Writes the diagnostic message at the specified level using the specified value as a parameter.

void Log(LogLevel level, IFormatProvider formatProvider, string message, double argument)

Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.

void Log(LogLevel level, string message, double argument)

Writes the diagnostic message at the specified level using the specified value as a parameter.

void Log(LogLevel level, IFormatProvider formatProvider, string message, decimal argument)

Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.

void Log(LogLevel level, string message, decimal argument)

Writes the diagnostic message at the specified level using the specified value as a parameter.

void Log(LogLevel level, IFormatProvider formatProvider, string message, object argument)

Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.

void Log(LogLevel level, string message, object argument)

Writes the diagnostic message at the specified level using the specified value as a parameter.

void Log(LogLevel level, IFormatProvider formatProvider, string message, sbyte argument)

Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.

void Log(LogLevel level, string message, sbyte argument)

Writes the diagnostic message at the specified level using the specified value as a parameter.

void Log(LogLevel level, IFormatProvider formatProvider, string message, uint argument)

Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.

void Log(LogLevel level, string message, uint argument)

Writes the diagnostic message at the specified level using the specified value as a parameter.

void Log(LogLevel level, IFormatProvider formatProvider, string message, ulong argument)

Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.

void Log(LogLevel level, string message, ulong argument)

Writes the diagnostic message at the specified level using the specified value as a parameter.

void Log(LogEventInfo logEvent)

Writes the specified diagnostic message.

void Log(Type wrapperType, LogEventInfo logEvent)

Writes the specified diagnostic message.

void Log<T>(LogLevel level, T value)

Writes the diagnostic message at the specified level.

void Log<T>(LogLevel level, IFormatProvider formatProvider, T value)

Writes the diagnostic message at the specified level.

void Log(LogLevel level, LogMessageGenerator messageFunc)

Writes the diagnostic message at the specified level.

void Log(LogLevel level, Exception exception, string message, object[] args)

Writes the diagnostic message and exception at the specified level.

void Log(LogLevel level, Exception exception, IFormatProvider formatProvider, string message, object[] args)

Writes the diagnostic message and exception at the specified level.

void Log(LogLevel level, IFormatProvider formatProvider, string message, object[] args)

Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider.

void Log(LogLevel level, string message)

Writes the diagnostic message at the specified level.

void Log(LogLevel level, string message, object[] args)

Writes the diagnostic message at the specified level using the specified parameters.

void Log<TArgument>(LogLevel level, IFormatProvider formatProvider, string message, TArgument argument)

Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider.

void Log<TArgument>(LogLevel level, string message, TArgument argument)

Writes the diagnostic message at the specified level using the specified parameter.

void Log<TArgument1, TArgument2>(LogLevel level, IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2)

Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider.

void Log<TArgument1, TArgument2>(LogLevel level, string message, TArgument1 argument1, TArgument2 argument2)

Writes the diagnostic message at the specified level using the specified parameters.

void Log<TArgument1, TArgument2, TArgument3>(LogLevel level, IFormatProvider formatProvider, string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3)

Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider.

void Log<TArgument1, TArgument2, TArgument3>(LogLevel level, string message, TArgument1 argument1, TArgument2 argument2, TArgument3 argument3)

Writes the diagnostic message at the specified level using the specified parameters.

void Log(LogLevel level, string message, Exception exception)

Obsolete and replaced by Log - Writes the diagnostic message and exception at the specified level.

void LogException(LogLevel level, string message, Exception exception)

Obsolete and replaced by Log - Writes the diagnostic message and exception at the specified level.