Class JsonOperationLogFormatter
java.lang.Object
org.shoulder.log.operation.format.impl.JsonOperationLogFormatter
- All Implemented Interfaces:
OperationLogFormatter
JSON 日志格式化,以 Json 格式输出
- Author:
- lym
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JsonOperationLogFormatter
public JsonOperationLogFormatter()
-
-
Method Details
-
format
Description copied from interface:OperationLogFormatter格式化- Specified by:
formatin interfaceOperationLogFormatter- Parameters:
opLog- 待打印的日志- Returns:
- 格式化后的 string
-