LogContext Class |
Namespace: CMS.EventLog
public class LogContext : ILogContext, INotCopyThreadItem
The LogContext type exposes the following members.
Name | Description | |
---|---|---|
![]() | LogContext |
Constructor - Registers the context within request.
|
![]() | LogContext(Guid) |
Constructor - Registers the context within request.
|
Name | Description | |
---|---|---|
![]() ![]() | Append |
Appends text to the log.
|
![]() ![]() | AppendLine |
Appends text to the log.
|
![]() | AppendText |
Appends the text.
|
![]() | Close |
Closes the log.
|
![]() ![]() | CloseCurrent |
Drops the current log context.
|
![]() ![]() | CloseLog |
Closes given log context.
|
![]() ![]() | EnsureLog |
Ensures the log for given GUID.
|
![]() ![]() | LogEvent |
Writes a new record to the event log.
|
![]() ![]() | LogExists |
Returns true if the given log exists.
|
![]() | RaiseOnChanged |
Fires the onchanged event.
|
Name | Description | |
---|---|---|
![]() | AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) |
![]() | GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) |
![]() | GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) |
![]() | ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
![]() | mEvent |
Info object containing event.
|
![]() | mLog |
Current log.
|
![]() | mLogGuid |
Logs GUID.
|
![]() ![]() | mLogs |
Table of existing logs [GUID] -> [LogContext]
|
![]() | mLogSingleEvents |
Indicates whether to log events one by one to event log.
|
![]() | mMultipleOperationEventCode |
Explicit event log code used when LogSingleEvents is false (case of multiple logging).
|
Name | Description | |
---|---|---|
![]() ![]() | Current |
Gets or sets current log context.
|
![]() | Event |
Info object of type EventLogInfo.
|
![]() | EventURL |
URL of event.
|
![]() | IPAddress |
IP address of client.
|
![]() | Log |
Gets the current log.
|
![]() | LogGuid |
Logs guid.
|
![]() | LogSingleEvents |
Indicates whether to log events one by one to event log.
|
![]() | MachineName |
Name of machine.
|
![]() | MaxLength |
Maximum length of the log. If the length is exceeded, the log is trimmed to half, offset is set and the log continues.
|
![]() | MultipleOperationEventCode |
Explicit event log code used when LogSingleEvents is false (case of multiple logging).
|
![]() | Offset |
Offset of a partial log in a complete log
|
![]() | UrlReferrer |
Referrer url.
|
![]() | UserAgent |
Browser identification.
|