Click or drag to resize

Logger Class

Class to allow logging to the Log Message Window and Demo3D log file.
Inheritance Hierarchy
SystemObject
  Demo3D.CommonLogger

Namespace:  Demo3D.Common
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 18.04.00
Syntax
C#
public static class Logger

The Logger type exposes the following members.

Methods
  NameDescription
Public methodStatic memberLog(String)
Log a message with no category or context data.
Public methodStatic memberLog(String, String)
Log a message with a category, but no context data.
Public methodStatic memberLog(String, String, Object)
Log a message with a category and context data (e.g. an Exception, a Visual, etc).
Top
Events
  NameDescription
Public eventStatic memberLogListeners
When calling Log(String), Log(String, String) or Log(String, String, Object), if this event is not null, then call any of the LoggerLogDelegate contained. Otherwise log to the Demo3D log file.
Top
See Also