MonobjcMonobjc Documented Class Library
Logger Class
NamespacesMonobjcLogger

Very basic logger that handles four levels of log.

The levels are set through an environment variable MONOBJC_LOG_LEVEL. Output logs are printed in a Terminal console.

The levels are :

LevelAssociated Output
DEBUG (MONOBJC_LOG_LEVEL >= debug)
Low-level log (class registration, proxy creation, messaging, etc.). Beware that this level will slow down the execution.
INFO (MONOBJC_LOG_LEVEL >= info)
Output informationnal log (bridge starting, architectre and runtime selection, statistics, etc.). Beware that this level may slow down the execution.
WARN (MONOBJC_LOG_LEVEL >= warning)
Output warning log. There is no noticeable impact
ERROR (MONOBJC_LOG_LEVEL >= error)
Output error log. There is no noticeable impact
Declaration Syntax
C#Visual BasicVisual C++
public static class Logger
Public NotInheritable Class Logger
public ref class Logger abstract sealed
Members
All MembersMethodsProperties



IconMemberDescription
Debug(String, String)
Outputs a DEBUG log.

DebugEnabled
Gets a value indicating whether debug level is enabled.

Error(String, String)
Outputs an ERROR log.

ErrorEnabled
Gets a value indicating whether warn level is enabled.

Info(String, String)
Outputs an INFO log.

InfoEnabled
Gets a value indicating whether info level is enabled.

Warn(String, String)
Outputs a WARNING log.

WarningEnabled
Gets a value indicating whether warning level is enabled.

Inheritance Hierarchy
Object
Logger
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc (Module: Monobjc)