@ThreadSafe public final class LogUtils extends Object
Modifier and Type | Method and Description |
---|---|
static LogInfo |
setLogLevel(String logName,
String level)
Gets a logger's level with specify name, if the level argument is not null, it will set to
specify level first.
|
public static LogInfo setLogLevel(String logName, String level) throws IOException
logName
- logger's namelevel
- logger's levelIOException
- if an I/O error occursCopyright © 2023. All Rights Reserved.