-
Notifications
You must be signed in to change notification settings - Fork 0
61aca21f 1d61 b309 5e8f 694574226276
Axel Kesseler edited this page Mar 1, 2023
·
4 revisions
This method writes the exception into the logging target using provided logging level.
Namespace: Plexdata.LogWriter.Logging
Assembly: Plexdata.LogWriter.Mail (in Plexdata.LogWriter.Mail.dll) Version: 1.0.7.1
C#
public void Write(
LogLevel level,
Exception exception,
params (string , Object )[] details
)
- level
- Type: Plexdata.LogWriter.Definitions.LogLevel
The logging level to be used to tag the written logging data. - exception
- Type: System.Exception
The exception to be written. - details
- Type: System.ValueTuple(String, Object)[]
An optional list of label-value-pair combinations containing additional information.
ILogger.Write(LogLevel, Exception, ValueTuple(String, Object)[])
This method performs the actual writing of logging data into the logging target using a particular logging level. Be aware, nothing will happen if exception is null
.
MailLogger(TContext) Class
Write Overload
Plexdata.LogWriter.Logging Namespace