1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 15:50:56 +00:00
Commit Graph

94 Commits

Author SHA1 Message Date
youngsterxyf
ecab397073 try to fix the little bug when calling Close or Flush in async mode 2016-01-28 21:53:44 +08:00
youngsterxyf
c59a029ce7 Merge branch 'develop' into config-logic 2016-01-27 10:58:38 +08:00
youngsterxyf
20efd5236e fix bug 2016-01-27 00:42:07 +08:00
JessonChan
e11d150e8b replace \t with space 2016-01-26 09:35:39 +08:00
JessonChan
f2567bc114 some typo fixed 2016-01-26 09:29:04 +08:00
JessonChan
b5a07c6ba8 log file name bug fixed
this bug happens when daily rotate. ex,when it is 2016-01-22 23:59:59 and need a rotate,the file name should named with 2016-01-22 but named with 2016-01-23(next day)
2016-01-26 09:20:49 +08:00
youngsterxyf
bcac4bb8e3 accept @JessonChan suggestion 2016-01-25 20:53:25 +08:00
youngsterxyf
0e17e2a3d2 accept @JessonChan suggestion 2016-01-25 20:20:53 +08:00
youngsterxyf
ecf24640fd fix issue #1566 2016-01-23 16:56:54 +08:00
astaxie
9adf20d72e gofmt -s 2016-01-17 23:57:07 +08:00
JessonChan
fb5b04506a code refactor and format 2016-01-13 09:24:27 +08:00
JessonChan
7663d50c97 remove the lock writer 2016-01-13 09:21:55 +08:00
JessonChan
58730e3528 test file modify 2016-01-13 09:21:32 +08:00
JessonChan
e1b73b33d0 improve code 2016-01-13 08:21:44 +08:00
JessonChan
c535dc386e fast format 2016-01-12 22:54:39 +08:00
JessonChan
69804afc1b use pool to logMsg 2016-01-12 22:39:40 +08:00
JessonChan
164366ae0d return error 2016-01-12 22:33:52 +08:00
JessonChan
2b9d7ff714 remove log package 2016-01-12 22:32:36 +08:00
JessonChan
bd0f3c29fa decr malloc new object 2016-01-12 22:32:20 +08:00
JessonChan
12e7f0f94a extract a func to write to every logger 2016-01-12 21:15:25 +08:00
JessonChan
482b7a62bd use array not map 2016-01-12 21:05:06 +08:00
JessonChan
baa2e9d64a code format 2016-01-12 19:44:28 +08:00
JessonChan
5511e03b52 embedding file writer 2016-01-12 19:25:33 +08:00
JessonChan
9507e59c2f camel name fixed 2016-01-12 19:10:08 +08:00
JessonChan
2479e61db9 add asynchronous and call depth benchmark 2016-01-12 19:09:00 +08:00
JessonChan
c9b890b10e add asynchronous benchmark 2016-01-12 17:59:23 +08:00
JessonChan
e32e3a759c console type no need to bench 2016-01-12 17:46:10 +08:00
astaxie
3bb22d149e add the comments 2016-01-04 22:22:42 +08:00
astaxie
f0be45dfff fix the comments and json tag 2016-01-04 22:18:59 +08:00
astaxie
cb0400dcd4 file add the config for Perm 2015-09-18 12:12:02 +08:00
astaxie
34877c52a9 golint logs 2015-09-11 23:08:24 +08:00
astaxie
f9fe89fff0 fix the file rotate test case issues 2015-09-04 22:33:03 +08:00
astaxie
9ab7466d5c fix the cappital 2015-09-04 22:20:55 +08:00
Hubery
59b903d557 set DoRotate fname like xx.2013-01-01.2.log
fix fname,by extension to identify the file type on mac and windows.
2015-07-15 17:00:48 +08:00
astaxie
c8f6e0f156 remove the hardcode in runtime.Caller 2015-06-15 20:53:49 +08:00
astaxie
d629c1d3d0 change the comments 2015-06-15 20:22:05 +08:00
astaxie
817650aa33 keep the short name for logs 2015-06-15 20:20:37 +08:00
astaxie
d9bb1a3592 logs support elasticsearch adapter 2015-06-13 00:25:48 +08:00
astaxie
9c6775c22c log default use synchro, and support async 2015-06-13 00:25:21 +08:00
wuranbo
23268b788a *feature) 增加logcalldepth接口,使得能简单再次封装log系列函数。 2015-05-25 09:10:36 +08:00
toalexjin
5b1705b2d6 Do not check log level in writerMsg() because the check is already done outside. 2015-05-25 09:10:35 +08:00
toalexjin
2e51c124f1 For enhancing performance, check log level before fmt.Sprintf() 2015-05-25 09:10:35 +08:00
fuxiaohei
77c1109134 code simplify for package logs 2015-02-23 11:42:46 +08:00
DeanThompson
6a9d04c269 count log file lines 2014-11-21 18:12:39 +08:00
astaxie
a2428af8a7 compatibility for warn & info function add one more depth 2014-11-03 16:48:45 +08:00
astaxie
90a7ce5c6a split the file for logs 2014-11-03 16:45:42 +08:00
astaxie
ef3c7c127b fix the variable 2014-11-03 16:44:05 +08:00
astaxie
88caf1ed70 if read the log.go then calldepth add 1 2014-11-03 16:43:07 +08:00
astaxie
304beaf89f update the log call deep 2014-11-03 16:40:08 +08:00
astaxie
2288ac868c remove the deep Caller 2014-11-03 16:34:36 +08:00