public interface LoggingManager
Modifier and Type | Method and Description |
---|---|
void |
disableProfiling()
Turn off profiling.
|
void |
enableProfiling()
Turn on profiling.
|
void |
markLogs(String msg,
boolean rollOver)
Write a marker to the log and optionally roll the logs.
|
void |
setLogLevel(org.apache.log4j.Logger logger,
org.apache.log4j.Level level)
Set the logging level for a logger.
|
void |
setLogLevel(String loggerName,
String levelName)
Set the logging level for a logger.
|
void setLogLevel(@Nonnull String loggerName, @Nonnull String levelName)
loggerName
- Logger namelevelName
- Logging level namevoid setLogLevel(@Nonnull org.apache.log4j.Logger logger, @Nonnull org.apache.log4j.Level level)
logger
- Loggerlevel
- Logging Levelvoid markLogs(String msg, boolean rollOver)
msg
- Message to write into the logsrollOver
- set to true to roll the logsvoid enableProfiling()
void disableProfiling()
Copyright © 2002-2021 Atlassian. All Rights Reserved.