package api
- Alphabetic
- By Inheritance
- api
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
This is a Actor based logging library which supports writing logs to File and StdOut Console.
This is a Actor based logging library which supports writing logs to File and StdOut Console.
info
level and HCD2 can choose to log at debug
levelLogActor
is the heart of logging library. It receives messages from following classes:
This library supports two types of csw.logging.client.appenders.LogAppender:
You can specify the appender in application.conf file as shown below:
csw-logging { appenders = ["csw.logging.client.appenders.StdOutAppender$", "csw.logging.client.appenders.FileAppender$"] }
For each component, ComponentLoggingState
instance gets created which maintains log levels
which are enabled and disabled for this particular component.
Every time message gets logged by component, LoggerImpl checks in corresponding componentLoggingState whether current log level enabled or not.
If enabled, then only log message gets forwarded to LogActor via MessageHandler.
You can specify the component specific log levels in application.conf file as shown below:
component-log-levels { tromboneHcd = debug tromboneAssembly = error }
̄ Detailed documentation of Logging Service is available at: https://tmtsoftware.github.io/csw/services/logging.html