Click or drag to resize
LogContext Methods

The LogContext type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAppend
Appends text to the log.
Public methodStatic memberAppendLine
Appends text to the log.
Public methodAppendText
Appends the text.
Public methodClear
Clears the log
Public methodClose
Closes the log.
Public methodStatic memberCloseCurrent
Drops the current log context.
Public methodStatic memberCloseLog
Closes given log context.
Public methodDispose
Disposes the object.
Protected methodDispose(Boolean)
Disposes object's log.
Public methodStatic memberEnsureLog
Ensures the log for given GUID.
Public methodLogEvent
Writes a new record to the event log.
Public methodStatic memberLogEventToCurrent
Writes a new record to the event log using Current context.
Public methodStatic memberLogExists
Returns true if the given log exists.
Protected methodRaiseOnChanged
Fires the onchanged event.
Public methodSetAllowedContexts
Sets the list of the context names that the log context accepts. Use empty string for context which logs messages that do not provide context.
Top
See Also