Closed Alice52 closed 4 years ago
[x] log request
[x] console or debug API to change runtime log level
[x] log async
<configuration> <appender name="FILE" class="ch.qos.logback.core.FileAppender"> <file>myapp.log</file> <encoder> <pattern>%logger{35} - %msg%n</pattern> </encoder> </appender> <appender name="ASYNC" class="ch.qos.logback.classic.AsyncAppender"> <!-- appender-ref just can only one --> <appender-ref ref="FILE" /> </appender> <root level="DEBUG"> <appender-ref ref="ASYNC" /> </root> </configuration>
[x] log request
[x] console or debug API to change runtime log level
[x] log async