C# Class NContext.Extensions.Logging.LogEntry

Defines a log entry.
Show file Open project: PowerDMS/NContext Class Usage Examples

Public Methods

Method Description
LogEntry ( Object message, IEnumerable categories ) : System

Initializes a new instance of the LogEntry class.

Private Methods

Method Description
Clone ( ) : LogEntry

Creates a read-only clone from this instance. Used internally for broadcasting the instance to multiple ILogTargets.

LogEntry ( Object message, IEnumerable categories, DateTimeOffset occurredOn, Object>.IDictionary auxiliaryProperties ) : System

Method Details

LogEntry() public method

Initializes a new instance of the LogEntry class.
public LogEntry ( Object message, IEnumerable categories ) : System
message Object The message.
categories IEnumerable The categories.
return System