LoggingSystemFactory

csw.logging.client.scaladsl.LoggingSystemFactory

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def forTestingOnly()(implicit actorSystem: ActorSystem[Command]): LoggingSystem
def start(name: String, version: String, hostName: String, actorSystem: ActorSystem[Command]): LoggingSystem

The factory used to create the LoggingSystem. LoggingSystem should be started once in an app.

The factory used to create the LoggingSystem. LoggingSystem should be started once in an app.

Value parameters

actorSystem

the ActorSystem used to create LogActor from LoggingSystem

hostName

the host address which will be a part of log statements

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 statements

Attributes

Returns

the instance of LoggingSystem