public class OSSLog
extends java.lang.Object
构造器和说明 |
---|
OSSLog() |
限定符和类型 | 方法和说明 |
---|---|
static void |
disableLog()
disable log
|
static void |
enableLog()
enable log
|
static boolean |
isEnableLog() |
static void |
logDebug(java.lang.String msg)
debug level log
|
static void |
logDebug(java.lang.String msg,
boolean write2local)
debug级别log
|
static void |
logDebug(java.lang.String tag,
java.lang.String msg) |
static void |
logDebug(java.lang.String tag,
java.lang.String msg,
boolean write2local) |
static void |
logError(java.lang.String msg)
error level log
|
static void |
logError(java.lang.String msg,
boolean write2local)
error级别log
|
static void |
logError(java.lang.String tag,
java.lang.String msg) |
static void |
logError(java.lang.String tag,
java.lang.String msg,
boolean write2local) |
static void |
logInfo(java.lang.String msg)
info level log
|
static void |
logInfo(java.lang.String msg,
boolean write2local) |
static void |
logThrowable2Local(java.lang.Throwable throwable) |
static void |
logVerbose(java.lang.String msg)
verbose level log
|
static void |
logVerbose(java.lang.String msg,
boolean write2local) |
static void |
logWarn(java.lang.String msg)
warning level log
|
static void |
logWarn(java.lang.String msg,
boolean write2local) |
public static void enableLog()
public static void disableLog()
public static boolean isEnableLog()
public static void logInfo(java.lang.String msg)
msg
- public static void logInfo(java.lang.String msg, boolean write2local)
public static void logVerbose(java.lang.String msg)
msg
- public static void logVerbose(java.lang.String msg, boolean write2local)
public static void logWarn(java.lang.String msg)
msg
- public static void logWarn(java.lang.String msg, boolean write2local)
public static void logDebug(java.lang.String msg)
msg
- public static void logDebug(java.lang.String tag, java.lang.String msg)
public static void logDebug(java.lang.String msg, boolean write2local)
write2local
- 是否需要写入本地msg
- public static void logDebug(java.lang.String tag, java.lang.String msg, boolean write2local)
public static void logError(java.lang.String msg)
msg
- public static void logError(java.lang.String tag, java.lang.String msg)
public static void logError(java.lang.String msg, boolean write2local)
msg
- public static void logError(java.lang.String tag, java.lang.String msg, boolean write2local)
public static void logThrowable2Local(java.lang.Throwable throwable)