Class LocationServiceLogger

java.lang.Object
csw.location.api.commons.LocationServiceLogger

public class LocationServiceLogger extends Object
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 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

      public static JLoggerFactory asJava()