WriteContext Class

Namespace
Microsoft.Extensions.Logging.Testing
Assemblies
  • Microsoft.Extensions.Logging.Testing

Syntax

public class WriteContext
class Microsoft.Extensions.Logging.Testing.WriteContext

Properties

Microsoft.Extensions.Logging.Testing.WriteContext.EventId
Return type:Microsoft.Extensions.Logging.EventId
public EventId EventId { get; set; }
Microsoft.Extensions.Logging.Testing.WriteContext.Exception
Return type:System.Exception
public Exception Exception { get; set; }
Microsoft.Extensions.Logging.Testing.WriteContext.Formatter
Return type:System.Func<System.Object>
public Func<object, Exception, string> Formatter { get; set; }
Microsoft.Extensions.Logging.Testing.WriteContext.LogLevel
Return type:Microsoft.Extensions.Logging.LogLevel
public LogLevel LogLevel { get; set; }
Microsoft.Extensions.Logging.Testing.WriteContext.LoggerName
Return type:System.String
public string LoggerName { get; set; }
Microsoft.Extensions.Logging.Testing.WriteContext.Scope
Return type:System.Object
public object Scope { get; set; }
Microsoft.Extensions.Logging.Testing.WriteContext.State
Return type:System.Object
public object State { get; set; }