Package csw.config.client.commons
Class ConfigClientLogger
- java.lang.Object
-
- csw.config.client.commons.ConfigClientLogger
-
public class ConfigClientLogger extends java.lang.ObjectAll the logs generated from config client will have a fixed prefix, which isConfigClient. The prefix helps in production to filter out logs from a particular component and this case, it helps to filter out logs generated from config client.
-
-
Constructor Summary
Constructors Constructor Description ConfigClientLogger()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JLoggerFactoryasJava()static csw.logging.api.scaladsl.LoggergetLogger()static csw.logging.api.scaladsl.LoggergetLogger(akka.actor.ActorContext ctx)static <T> csw.logging.api.scaladsl.LoggergetLogger(akka.actor.typed.scaladsl.ActorContext<T> ctx)
-
-
-
Method Detail
-
getLogger
public static <T> csw.logging.api.scaladsl.Logger getLogger(akka.actor.typed.scaladsl.ActorContext<T> ctx)
-
getLogger
public static csw.logging.api.scaladsl.Logger getLogger(akka.actor.ActorContext ctx)
-
getLogger
public static csw.logging.api.scaladsl.Logger getLogger()
-
asJava
public static JLoggerFactory asJava()
-
-