TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

interface ILogMessageHandler in Tinman.Core.Logging

Base interface for classes that handle log messages.

interface ILogMessageHandler base of LogMessageHandler
  SeverityMessageHandler

Methods

HandleLogMessage

Handles the given log message.

method HandleLogMessage (ILogger source, LogSeverity logSeverity, string logMessage)
params source [not-null] The ILogger that has been used to emit the log message.
  logSeverity The LogSeverity of the log message.
  logMessage [not-null] The log message

Remarks:

All exceptions that are thrown by implementing methods are dropped silently.

IsRedundant

Checks if this log message handler is redundant if the given one is already present.

method IsRedundant (ILogMessageHandler other)
type bool
params other [not-null] The other handler.
returns true if this log message handler is redundant, false if not.

Severity

Changes the maximum log severity of this handler.

method Severity (LogSeverity severity)
type ILogMessageHandler
params severity The new maximum log severity.
returns [not-null] The resulting log message handler.