ILogger.Write Method (ILoggingContext, LogLevel, LogRecordKind, String, Object[], Exception, CallerInfo) |
Namespace: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.10.10.0 (6.10.10.0)
void Write( ILoggingContext context, LogLevel level, LogRecordKind recordKind, string text, Object[] args, Exception exception, ref CallerInfo callerInfo )
Parameters
- context
- Type: PostSharp.Patterns.Diagnostics.Contexts.ILoggingContext
- level
- Type: PostSharp.Patterns.Diagnostics.LogLevel
LogLevel of the record. - recordKind
- Type: PostSharp.Patterns.Diagnostics.LogRecordKind
Kind of record. - text
- Type: System.String
Text of the record. - args
- Type: System.Object[]
An array of parameters. - exception
- Type: System.Exception
The Exception associated with the record, or null. - callerInfo
- Type: PostSharp.Patterns.Diagnostics.Contexts.CallerInfo
Information about the caller source code.