Log4Net 配置文件中的“%5rms”是什么意思?

What '%5rms' means in Log4Net ConfigurationFile?

任何人都可以解释 %5rms 在 Log4Net 配置文件的 ConversionPattern 中的含义吗?

<conversionPattern value="%d %-5p [%thread](%c:%5rms) - %m %n" />

%5 是一个格式说明符,意思是 "use five spaces to display the text"

r is defined as "the number of milliseconds elapsed since the start of the application until the creation of the logging event."

ms 是文字字符串。

示例结果:

logger_name: 2015-12-21 10:55:31,035 ERROR [6](logger_name:   71ms) - log_message  
logger_name: 2015-12-21 10:55:31,042 ERROR [6](logger_name:   78ms) - log_message2  
logger_name: 2015-12-21 10:55:31,043 ERROR [6](logger_name:   79ms) - log_message3