public class LogBase extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
LOG_CHARSET |
| Constructor and Description |
|---|
LogBase() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getLogBaseDir()
Get log file base directory path, the returned path is guaranteed end with
File.separator |
protected static Handler |
makeLogger(String logName,
Logger heliumRecordLog) |
protected static void |
setLogBaseDir(String baseDir)
Change log dir, the dir will be created if not exits
|
public static final String LOG_CHARSET
public static String getLogBaseDir()
File.separatorprotected static void setLogBaseDir(String baseDir)
baseDir - Copyright © 2018 Alibaba Group. All rights reserved.