C# Class EasyFarm.Logging.LogEntry

Show file Open project: EasyFarm/EasyFarm Class Usage Examples

Public Properties

Property Type Description
Exception System.Exception
Message string
Severity LoggingEventType

Public Methods

Method Description
IncludeExceptionInMessage ( ) : LogEntry
LogEntry ( LoggingEventType severity, string message, Exception exception = null ) : System

Method Details

IncludeExceptionInMessage() public method

public IncludeExceptionInMessage ( ) : LogEntry
return LogEntry

LogEntry() public method

public LogEntry ( LoggingEventType severity, string message, Exception exception = null ) : System
severity LoggingEventType
message string
exception System.Exception
return System

Property Details

Exception public property

public Exception,System Exception
return System.Exception

Message public property

public string Message
return string

Severity public property

public LoggingEventType Severity
return LoggingEventType