Package csw.logging.client.commons
Class LogAdminUtil$
- java.lang.Object
-
- csw.logging.client.commons.LogAdminUtil$
-
public class LogAdminUtil$ extends java.lang.Object
Helper to get/set the log level of components
-
-
Field Summary
Fields Modifier and Type Field Description static LogAdminUtil$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description LogAdminUtil$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogMetadata
getLogMetadata(Prefix prefix)
Fetches the LogMetadata for given componentvoid
setComponentLogLevel(Prefix prefix, Level level)
Updates the log level of component
-
-
-
Field Detail
-
MODULE$
public static final LogAdminUtil$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
getLogMetadata
public LogMetadata getLogMetadata(Prefix prefix)
Fetches the LogMetadata for given component- Parameters:
prefix
- represents full name (from prefix) of component whose LogMetadata needs to be fetched- Returns:
- LogMetaData of the given component
-
-