1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-27 01:41:28 +00:00
Commit Graph

52 Commits

Author SHA1 Message Date
JessonChan
c92c3fc8b5 make the BeegoLogger a adapter of http server ErrorLog 2016-03-14 10:21:07 +08:00
astaxie
83fe43f331 gofmt -s -w 2016-03-11 13:00:58 +08:00
JessonChan
4801099675 duplicate adapter logger bug fixed 2016-03-11 10:12:17 +08:00
JessonChan
9da4d1d847 Merge branch 'develop' into log_enhancement 2016-03-01 13:59:27 +08:00
JessonChan
f8c4b3aa4c add files logger to separate different logs 2016-02-03 17:11:53 +08:00
JessonChan
51b1095e73 add files logger 2016-02-03 16:32:59 +08:00
JessonChan
a1cb000701 remove log package 2016-02-03 14:42:38 +08:00
youngsterxyf
2efe7c4c89 merge multi commit 2016-02-02 17:12:47 +08:00
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
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
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
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
astaxie
34877c52a9 golint logs 2015-09-11 23:08:24 +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
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
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
astaxie
71149218d1 fix the log level 2014-10-30 17:43:32 +08:00
astaxie
68c3bdfdd4 Revert "logs:default support fileline"
This reverts commit 1f26852610.
2014-10-30 16:57:48 +08:00
astaxie
1f26852610 logs:default support fileline 2014-10-28 19:33:14 +08:00
Francois
2d94f7797b Type in the printout of each level's prefix 2014-08-26 14:03:03 +02:00
Francois
1d1ad69954 Print error if occurred in WriteMsg 2014-08-26 06:37:35 +02:00
astaxie
a144769515 update the documents & comments 2014-08-18 16:41:43 +08:00
stansun
a804d242d9 revise a comment
If it gets a msg from the buffer chan, it will write the message to
outputs.
2014-07-27 07:13:17 -04:00
Frederic G. MARAND
7d09ac252a Issue #682: convert logs package to RFC5424 logging levels. 2014-07-11 11:15:34 +02:00
astaxie
fefd8ddb5b beego: update licence& fix #669 2014-07-03 23:40:21 +08:00
astaxie
0f170a80da update the comments fix #658 2014-06-25 10:39:37 +08:00
astaxie
c188cbbcb4 update all files License 2014-05-17 02:26:50 +08:00
slene
9421a21037 beego: fix log output when SetLogger has error 2014-04-04 09:57:37 +08:00
asta.xie
9c5ceb70cc Logs: modify StartLogger to private 2014-04-02 23:43:37 +08:00
asta.xie
3f5fee2dc6 Logs support file & filenum 2014-03-25 23:48:58 +08:00
FuXiaoHei
94ad13c846 add comments in logs package 2013-12-30 23:32:57 +08:00
astaxie
ba5e393e99 add flush & read all chan data 2013-11-27 17:50:10 +08:00