发表了博客
2013/08/05 09:12

log

aTimes[$point]["start"] = microtime(TRUE); $this->aTimes[$point]["start_utime"] = $dat["ru_utime.tv_sec"]*le6 + $dat["ru_utime.tv_usec"]; $this->aTimes[$point]["start_stime"] = $dat["ru_stime.tv_sec"]*le6 + $dat["ru_stime.tv_usec"]; } function stopTime($point, $comment="") { $dat = getrusage( ); $this->aTimes[$point]["end"] = microtime(TRUE); $this->aTimes[$point]["end_utime"] = $dat["ru_utime....

0
0
发表了博客
2013/07/23 21:20

first log

test

0
0
发表了博客
2013/05/22 13:17

go log

http://play.golang.org/p/8qWeAekujk

0
0
发表了博客
2016/03/31 10:21

log4j.properties log4j 配置

###log level log4j.rootLogger=info,stdout,file ###log out pattern log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.Target=System.out log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%-d{yyyy-MM-dd HH🇲🇲ss} %5p %t %c{1} - %m%n ###log file pattern log4j.appender.file=org.apache.log4j.DailyRollingFileAppender lo...

0
0