Package com.alipay.sofa.common.utils
Class ReportUtil
java.lang.Object
com.alipay.sofa.common.utils.ReportUtil
ReportUtil
参照:slf4j 输出信息到控制台及默认(业务app中配置的)日志
Created by yangguanchao on 16/9/24.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
reportDebug
(String msg) print Debug messagestatic void
reportError
(String msg) static void
reportError
(String msg, Throwable throwable) static void
reportInfo
(String msg) print Info messagestatic void
reportWarn
(String msg) print Warn messagestatic void
reportWarn
(String msg, Throwable e)
-
Constructor Details
-
ReportUtil
public ReportUtil()
-
-
Method Details
-
reportDebug
print Debug message- Parameters:
msg
- message
-
reportInfo
print Info message- Parameters:
msg
- message
-
reportWarn
print Warn message- Parameters:
msg
- message
-
reportWarn
-
reportError
-
reportError
-