Class MicrosoftExtensionsLoggingLogger
- Namespace
- Splat.Microsoft.Extensions.Logging
- Assembly
- Splat.Microsoft.Extensions.Logging.dll
Microsoft.Extensions.Logging Logger integration into Splat.
- Inheritance
-
Microsoft
Extensions Logging Logger
- Implements
- Extension Methods
Remarks
Initializes a new instance of the Microsoft
Constructors
MicrosoftExtensionsLoggingLogger(ILogger)
Microsoft.Extensions.Logging Logger integration into Splat.
Parameters
inner
ILoggerThe actual Microsoft.Extensions.Logging logger.
Remarks
Initializes a new instance of the Microsoft
Exceptions
- Argument
Null Exception Microsoft.Extensions.Logging logger not passed.
Properties
Level
Gets the level at which the target will emit messages.
Property Value
Exceptions
- Argument
Null Exception Microsoft.Extensions.Logging logger not passed.
Methods
Write(Exception, string, LogLevel)
Writes a message to the target.
Parameters
exception
ExceptionThe exception that occured.
message
stringThe message to write.
logLevel
LogLevel The severity level of the log message.
Exceptions
- Argument
Null Exception Microsoft.Extensions.Logging logger not passed.
Write(Exception, string, Type, LogLevel)
Writes a message to the target.
Parameters
exception
ExceptionThe exception that occured.
message
stringThe message.
type
TypeThe type.
logLevel
LogLevel The log level.
Exceptions
- Argument
Null Exception Microsoft.Extensions.Logging logger not passed.
Write(string, LogLevel)
Writes a message to the target.
Parameters
Exceptions
- Argument
Null Exception Microsoft.Extensions.Logging logger not passed.
Write(string, Type, LogLevel)
Writes a message to the target.
Parameters
Exceptions
- Argument
Null Exception Microsoft.Extensions.Logging logger not passed.