Click or drag to resize

LogSystem Class

This singleton class maintains the of list of installed reactors and handles all LogRecord objects. See the static class Log for functions the end user of this system should actually be calling. This class is thread safe.
Inheritance Hierarchy
SystemObject
  IBM.Watson.DeveloperCloud.LoggingLogSystem

Namespace:  IBM.Watson.DeveloperCloud.Logging
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class LogSystem

The LogSystem type exposes the following members.

Constructors
  NameDescription
Public methodLogSystem
Initializes a new instance of the LogSystem class
Top
Properties
  NameDescription
Public propertyStatic memberInstance
Returns the singleton instance of the Logger object.
Public propertyStatic memberReactorsInstalled
Top
Methods
  NameDescription
Public methodStatic memberInstallDefaultReactors
Install a default debug and file reactor.
Public methodInstallReactor
Installs a reactor into this Logger.
Public methodProcessLog
Send the given LogRecord to all installed reactors.
Public methodRemoveReactor
Removes a reactor from this Logger.
Top
See Also