loggerName
c{length}
lo{length}
logger{length}
length=0 是类名
--------------------------------------------------------------------------------------------------------------------------------------------------------
contextName<configuration>
<springProperty scope="context" name="APP_NAME" source="spring.application.name"/>
<contextName>${APP_NAME}</contextName>
</configuration>
contextName
cn
--------------------------------------------------------------------------------------------------------------------------------------------------------
dateFormatd{pattern}
date{pattern}
%date{HH:mm:ss.SSS}
%d{yyyy-MM-dd HH:mm:ss.SSS}
--------------------------------------------------------------------------------------------------------------------------------------------------------
lineL / line (Thus, its use should be avoided unless execution speed is not an issue.)
输出行数
--------------------------------------------------------------------------------------------------------------------------------------------------------
methodM / method (Thus, its use should be avoided unless execution speed is not an issue.)
输出方法名
--------------------------------------------------------------------------------------------------------------------------------------------------------
messagem / msg / message
输出日志内容
--------------------------------------------------------------------------------------------------------------------------------------------------------
levelp / le / level
输出日志级别
--------------------------------------------------------------------------------------------------------------------------------------------------------
threadt / thread
输出线程名
--------------------------------------------------------------------------------------------------------------------------------------------------------