Package csw.location.api.commons
Class LocationServiceLogger
java.lang.Object
csw.location.api.commons.LocationServiceLogger
All the logs generated from location service will have a fixed prefix, which is the value of
Constants.LocationService
.
The prefix helps in production to filter out logs from a particular component and this case, it helps to filter out logs
generated from location service.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic JLoggerFactory
asJava()
static csw.logging.api.scaladsl.Logger
static csw.logging.api.scaladsl.Logger
getLogger
(akka.actor.ActorContext ctx) static <T> csw.logging.api.scaladsl.Logger
getLogger
(akka.actor.typed.scaladsl.ActorContext<T> ctx)
-
Constructor Details
-
LocationServiceLogger
public LocationServiceLogger()
-
-
Method Details
-
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
-