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

class LoggingUtil in Tinman.Core.Logging

Static helper class for accessing the Logging API.

static class LoggingUtil  

Public / Constants

Root

The singleton category which represents the root of the category hierarchy.

public static readonly field Root
type ILoggerCategory

Public / Methods

BasicConfiguration

Performs basic configuration on the Root logger category.

public static method BasicConfiguration (LogSeverity severity = LogSeverity.Common, LogSeverity console = LogSeverity.Warning)
params severity The root severity level. Defaults to Common.
  console Maximum log severity to output on console message handler. Defaults to Warning

GetCategory

Returns the ILoggerCategory for the given full name.

public static method GetCategory (string fullName)
type ILoggerCategory
params fullName [not-null] The full name.
returns [not-null] The logger category.

GetLogger

Returns an ILogger instance for the given full name.

public static method GetLogger (string fullName)
type ILogger
params fullName [not-null] The full name.
returns The ILogger instance.

Remarks:

The given name should be the fully qualified name of the class that declares the logger variable.