public interface LoggingService
extends com.google.common.util.concurrent.Service
Modifier and Type | Method and Description |
---|---|
Logger |
createAgentLogger(name : String,
[initialLevel : Level])
Create a logger for an agent.
|
Logger |
getKernelLogger()
Replies the logger used by the kernel.
|
Logger |
getKernelModuleLogger(moduleName : String)
Replies the logger used by a specific module of the kernel.
|
Logger |
getPlatformLogger()
Replies the logger used by the platform.
|
def
createAgentLogger(name : String,
[initialLevel : Level]) : Logger
LoggingService
name
- the name of the logger, usually the name of the agent.initialLevel
- the initial level to associate to the logger. If it is
null
, the level is the less verbose between the default level
(given in the SRE configuration) and the parent level.@Pure
def
getPlatformLogger() : Logger
LoggingService
@Pure
def
getKernelLogger() : Logger
LoggingService
LoggingService.getKernelModuleLogger(String)
@Pure
def
getKernelModuleLogger(moduleName : String) : Logger
LoggingService
name
- the name of the sub-logger.LoggingService.getKernelLogger()
Copyright © 2021 the original authors or authors.