Click or drag to resize

ILoggerBase Interface

Logger with only generic methods (passing 'LogLevel' to methods) and core properties.

Namespace:  NLog
Assembly:  NLog (in NLog.dll) Version: 5.2.0+eed5f76d158dbcaef9326f7a0e1c281adad171e8
Syntax
public interface ILoggerBase

The ILoggerBase type exposes the following members.

Properties
  NameDescription
Public propertyFactory
Gets the factory that created this logger.
Public propertyName
Gets the name of the logger.
Top
Methods
  NameDescription
Public methodIsEnabled
Gets a value indicating whether logging is enabled for the specified level.
Public methodLog(LogEventInfo)
Writes the specified diagnostic message.
Public methodLog(LogLevel, LogMessageGenerator)
Writes the diagnostic message at the specified level.
Public methodLog(LogLevel, String)
Writes the diagnostic message at the specified level.
Public methodLog(Type, LogEventInfo)
Writes the specified diagnostic message.
Public methodLog(LogLevel, String, Object)
Writes the diagnostic message at the specified level using the specified parameters.
Public methodLog(LogLevel, Exception, String, Object)
Writes the diagnostic message and exception at the specified level.
Public methodLog(LogLevel, IFormatProvider, String, Object)
Writes the diagnostic message at the specified level using the specified parameters and formatting them with the supplied format provider.
Public methodLog(LogLevel, Exception, IFormatProvider, String, Object)
Writes the diagnostic message and exception at the specified level.
Public methodLogT(LogLevel, T)
Writes the diagnostic message at the specified level.
Public methodLogT(LogLevel, IFormatProvider, T)
Writes the diagnostic message at the specified level.
Public methodLogTArgument(LogLevel, String, TArgument)
Writes the diagnostic message at the specified level using the specified parameter.
Public methodLogTArgument(LogLevel, IFormatProvider, String, TArgument)
Writes the diagnostic message at the specified level using the specified parameter and formatting it with the supplied format provider.
Public methodLogTArgument1, TArgument2(LogLevel, String, TArgument1, TArgument2)
Writes the diagnostic message at the specified level using the specified parameters.
Public methodLogTArgument1, TArgument2(LogLevel, IFormatProvider, String, TArgument1, TArgument2)
Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider.
Public methodLogTArgument1, TArgument2, TArgument3(LogLevel, String, TArgument1, TArgument2, TArgument3)
Writes the diagnostic message at the specified level using the specified parameters.
Public methodLogTArgument1, TArgument2, TArgument3(LogLevel, IFormatProvider, String, TArgument1, TArgument2, TArgument3)
Writes the diagnostic message at the specified level using the specified arguments formatting it with the supplied format provider.
Top
Events
  NameDescription
Public eventLoggerReconfigured
Occurs when logger configuration changes.
Top
See Also