JessonChan
2b1316c738
data race bug fixed
2016-03-16 18:04:07 +08:00
astaxie
c8bbfb75f0
Merge pull request #1782 from JessonChan/some_wip
...
BeeLogger can be the writer of http server's log
2016-03-14 14:47:29 +08:00
JessonChan
c92c3fc8b5
make the BeegoLogger a adapter of http server ErrorLog
2016-03-14 10:21:07 +08:00
astaxie
88816348b9
window console can't output colorful
2016-03-11 15:29:52 +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
f21cff0166
some typo fixed
2016-03-09 16:00:52 +08:00
JessonChan
b2f071395b
rename files to mulitfile
2016-03-08 18:44:39 +08:00
JessonChan
54b5120a64
rename files to mulitfile
2016-03-08 18:43:09 +08:00
JessonChan
3379a2b7ed
remove file bug fixed
...
remove file by filename and file suffix
2016-03-04 10:43:57 +08:00
JessonChan
ca3c57fbc6
add a line of comment
2016-03-01 17:13:50 +08:00
JessonChan
387dd6ec0e
add a line of comment
2016-03-01 17:12:21 +08:00
JessonChan
26cc040f9a
daily log name dot fixed
2016-03-01 17:00:24 +08:00
JessonChan
9da4d1d847
Merge branch 'develop' into log_enhancement
2016-03-01 13:59:27 +08:00
astaxie
6eaa5537f5
Merge pull request #1652 from JessonChan/develop
...
colorful console and go fmt
2016-02-26 16:10:11 +08:00
JessonChan
1f716dda3e
add test files and bug fixed
2016-02-03 17:54:58 +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
68cc53e92b
when rotate by date ,there's no num after log file
2016-02-03 15:43:15 +08:00
JessonChan
6caa3ecd91
when rotate by date ,there's no num after log file
2016-02-03 15:31:59 +08:00
JessonChan
304a5ccea0
comment fix
2016-02-03 15:06:53 +08:00
JessonChan
9806a43783
make more fast
2016-02-03 15:03:37 +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
c71ac7431d
Merge branch 'develop' into logger-flush-close
2016-02-02 17:11:41 +08:00
JessonChan
5dec3d127c
colorful console only the terminal supports
2016-02-02 16:37:09 +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
Pelle Johnsen
a043432398
Change option name from noColor to color
...
Still same default behavior (with color)
2016-01-28 07:50:07 +01:00
Pelle Johnsen
7f888e3d18
Add noColor option for console logger
...
- Also added simple test
2016-01-27 19:20:58 +01: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