public class JLoggingSystemFactory$
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static JLoggingSystemFactory$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
JLoggingSystemFactory$() |
Modifier and Type | Method and Description |
---|---|
csw.logging.internal.LoggingSystem |
start()
The factory used to create the LoggingSystem.
|
csw.logging.internal.LoggingSystem |
start(java.lang.String name,
java.lang.String version,
java.lang.String hostName,
akka.actor.ActorSystem actorSystem)
The factory used to create the LoggingSystem.
|
csw.logging.internal.LoggingSystem |
start(java.lang.String name,
java.lang.String version,
java.lang.String hostName,
akka.actor.ActorSystem actorSystem,
java.util.List<LogAppenderBuilder> appenders)
The factory used to create the LoggingSystem.
|
public static final JLoggingSystemFactory$ MODULE$
public csw.logging.internal.LoggingSystem start(java.lang.String name, java.lang.String version, java.lang.String hostName, akka.actor.ActorSystem actorSystem)
LoggingSystem
should be started once in an app.
name
- The name of the logging system. If there is a file appender configured, then a file with this name is
created on local machine.version
- the version of the csw which will be a part of log statementshostName
- the host address which will be a part of log statementsactorSystem
- the ActorSystem used to create LogActor from LoggingSystempublic csw.logging.internal.LoggingSystem start()
LoggingSystem
should be started once in an app.
public csw.logging.internal.LoggingSystem start(java.lang.String name, java.lang.String version, java.lang.String hostName, akka.actor.ActorSystem actorSystem, java.util.List<LogAppenderBuilder> appenders)
LoggingSystem
should be started once in an app.
name
- The name of the logging system. If there is a file appender configured, then a file with this name is
created on local machine.version
- the version of the csw which will be a part of log statementshostName
- the host address which will be a part of log statementsactorSystem
- the ActorSystem used to create LogActor from LoggingSystemappenders
- the list of appenders given programmatically