Allows the implementation of a logger.
A LogWriter that this instance uses to write logging information.
public LogWriter Writer { get; set; }
Writes a LogEntry.
public Void Write(entry)
Name | Type | Summary |
---|---|---|
entry | LogEntry | A LogEntry to be written. |
Writes a message.
public Void Write(message, level, category, eventid)
Name | Type | Summary |
---|---|---|
message | Object | Message to be written. |
level | LogLevel | Message level. |
category | String | Message category. |
eventid | EventId | Message event id. |
Writes a new log entry.
public Void Write(message, level, category, eventid, activityid)
Name | Type | Summary |
---|---|---|
message | Object | Message to be written. |
level | LogLevel | Message level. |
category | String | Message category. |
eventid | EventId | Message event id. |
activityid | String | Message activity id. |
Writes a critial message with basic category.
public Void WriteCritical(message)
Name | Type | Summary |
---|---|---|
message | Object | Message to be written. |
Writes a critial message with basic category.
public Void WriteCritical(message, eventid)
Name | Type | Summary |
---|---|---|
message | Object | Message to be written. |
eventid | EventId | Message event id. |
Writes a critial message with basic category.
public Void WriteCritical(message, activityid)
Name | Type | Summary |
---|---|---|
message | Object | Message to be written. |
activityid | String | Message activity id. |
Writes a debug message with basic category.
public Void WriteDebug(message)
Name | Type | Summary |
---|---|---|
message | Object | Message to be written. |
Writes a debug message with basic category.
public Void WriteDebug(message, eventid)
Name | Type | Summary |
---|---|---|
message | Object | Message to be written. |
eventid | EventId | Message event id. |
Writes a debug message with basic category.
public Void WriteDebug(message, activityid)
Name | Type | Summary |
---|---|---|
message | Object | Message to be written. |
activityid | String | Message activity id. |
Writes an error message with basic category.
public Void WriteError(message)
Name | Type | Summary |
---|---|---|
message | Object | Message to be written. |
Writes an error message with basic category.
public Void WriteError(message, eventid)
Name | Type | Summary |
---|---|---|
message | Object | Message to be written. |
eventid | EventId | Message event id. |
Writes an error message with basic category.
public Void WriteError(message, activityid)
Name | Type | Summary |
---|---|---|
message | Object | Message to be written. |
activityid | String | Message activity id. |
Writes an informational message with basic category.
public Void WriteInformation(message)
Name | Type | Summary |
---|---|---|
message | Object | Message to be written. |
Writes an informational message with basic category.
public Void WriteInformation(message, eventid)
Name | Type | Summary |
---|---|---|
message | Object | Message to be written. |
eventid | EventId | Message event id. |
Writes an informational message with basic category.
public Void WriteInformation(message, activityid)
Name | Type | Summary |
---|---|---|
message | Object | Message to be written. |
activityid | String | Message activity id. |
Writes a verbose message with basic category.
public Void WriteVerbose(message)
Name | Type | Summary |
---|---|---|
message | Object | Message to be written. |
Writes a verbose message with basic category.
public Void WriteVerbose(message, eventid)
Name | Type | Summary |
---|---|---|
message | Object | Message to be written. |
eventid | EventId | Message event id. |
Writes a verbose message with basic category.
public Void WriteVerbose(message, activityid)
Name | Type | Summary |
---|---|---|
message | Object | Message to be written. |
activityid | String | Message activity id. |
Writes a warning message with basic category.
public Void WriteWarning(message)
Name | Type | Summary |
---|---|---|
message | Object | Message to be written. |
Writes a warning message with basic category.
public Void WriteWarning(message, eventid)
Name | Type | Summary |
---|---|---|
message | Object | Message to be written. |
eventid | EventId | Message event id. |
Writes a warning message with basic category.
public Void WriteWarning(message, activityid)
Name | Type | Summary |
---|---|---|
message | Object | Message to be written. |
activityid | String | Message activity id. |