Commit Graph

167 Commits

Author SHA1 Message Date
xuyue86
3fab7a341d
feat(glog): add log rotation support for short-running process (#2658) 2023-06-29 20:29:33 +08:00
John Guo
c5c2938380
improve command gen ctrl and gen service (#2711) 2023-06-19 20:47:32 +08:00
guangwu
e816ab05de
refactor: code optimization (#2667) 2023-05-25 21:58:11 +08:00
mason
ff6f5ce237
update default logging time format using SetTimeFormat (#2611) 2023-05-23 20:59:58 +08:00
张金富
f0d22fe570
doc: correct level value comment (#2653) 2023-05-22 20:29:24 +08:00
cui fliter
a9090e4a72
fix some comments (#2600)
Signed-off-by: cui fliter <imcusg@gmail.com>
2023-04-26 19:34:22 +08:00
John Guo
117fc6eda2
fix issue #2339 (#2433) 2023-02-08 19:08:10 +08:00
John Guo
ae4f14c2e2
add LevelPrint configuration for glog.Logger; add package internal/instance for grouped instance management feature; add default logger for panic message printing if no logger set in gcron.Cron (#2388)
* improve logging feature, add LevelPrint configuration for glog.Logger; add package internal/instance

* improve command build

* add default logger for panic message printing if no logger set

* up

* fix scheduler when timer triggers in less than one second for package gcron

* up
2023-01-06 14:15:30 +08:00
黄骞
fbeb8f81ac
add ut cases for package glog part2 (#2317) 2022-11-21 10:32:08 +08:00
黄骞
83b92ddfa4
add ut cases for package glog (#2302)
* add ut cases for package glog

* add ut cases for package glog

* add ut cases for package glog

* add ut cases for package glog

* add ut cases for package glog

* add ut cases for package glog
2022-11-17 19:44:48 +08:00
houseme
1793bf0863
add golangci feature to guarantee codes quality (#2229) 2022-11-01 20:12:21 +08:00
John Guo
66aa0c7050
add switch of brief stack for package gerror (#2153) 2022-09-27 10:11:33 +08:00
John Guo
f580b7a488
improve header printing in json format for package glog; add golang v1.18 support for ci workflow (#2037) 2022-07-29 19:06:22 +08:00
John Guo
2c169e2330
improve package glog; fix issue in package gtrace (#1952) 2022-06-28 15:47:16 +08:00
wenzi
141f3512a9
fix glog bug (#1844) 2022-06-23 21:05:12 +08:00
John Guo
33a528af76 fix issue #1913 2022-06-20 22:03:19 +08:00
John Guo
b2b2044786 add tracing logging content if trace id is available in context for package gcmd 2022-06-17 17:41:10 +08:00
John Guo
9ad9292321 improve handler feature for package glog 2022-04-29 14:13:54 +08:00
John Guo
a32847f0c5 add default handler feature for package glog 2022-04-25 18:05:52 +08:00
yuancjun
4ca168412b
avoid a single space at the end of a line. 2022-04-06 11:57:22 +08:00
John Guo
60340a7348 fix UT case for package glog 2022-03-15 10:15:46 +08:00
John Guo
dccfc1c8cd add hook feature for model of package gdb 2022-03-14 23:47:55 +08:00
John Guo
546b6b1724 t.Assert(err, nil) -> t.AssertNil(err) 2022-03-10 11:36:40 +08:00
John Guo
5f2047d61b fix issue in configuration StdoutColorDisabled for package glog; rename TempDir to Temp for package gfile 2022-02-14 14:50:25 +08:00
John Guo
04eb654133 add error stack for internal error printing 2022-01-28 14:51:49 +08:00
John Guo
8731123030 add StdoutColorDisabled configuration for package glog 2022-01-13 15:22:27 +08:00
John Guo
48c5c1e5a8 change errors wrapped by gerror.Wrap with error stack info for all packages 2021-12-23 00:09:00 +08:00
John Guo
ce93b625d4 change errors wrapped by gerror.Wrap with error stack info for all packages 2021-12-21 22:59:14 +08:00
John Guo
4de74464ac fix issue in unit testing case for package gctx/glog 2021-12-16 23:38:40 +08:00
John Guo
aee52fd56e enable OpenTelemetry in default for some core components 2021-12-16 23:09:37 +08:00
John Guo
e10ba4cf67 improve stack filtering for package gdebug/glog 2021-12-10 22:54:32 +08:00
John Guo
39bbca2a50 add stack filter of goframe module path for logging content 2021-12-10 18:52:35 +08:00
John Guo
57ccc13e0c unit testing files renaming 2021-11-17 23:20:58 +08:00
houseme
e86ee052cb improve code import 2021-11-16 19:29:02 +08:00
houseme
cd60a4aca7 [feature] improve code glog 2021-11-15 20:31:16 +08:00
danvinhe
5ffd362b6e
Update glog_logger.go
多了个空格
2021-11-03 15:02:21 +08:00
danvinhe
41d0832fa5
Merge branch 'master' into hotfix/i1421 2021-11-03 14:55:02 +08:00
John Guo
e22e1d0e4a remove function Println from package glog 2021-10-30 19:44:22 +08:00
John Guo
42e27dd14c add context parameter for package grpool 2021-10-30 18:09:58 +08:00
John Guo
17e6063c5c add neccessary parameter context for package gcron/gtimer 2021-10-30 15:36:10 +08:00
John Guo
7eb3b32b26 fix unit testing cases 2021-10-11 21:53:16 +08:00
John Guo
1bc0635f8b version 2 2021-10-11 21:41:56 +08:00
lindan.he
e0c4f7ccbf Fixed: #1421 2021-10-09 18:32:59 +08:00
John Guo
df09d8c604 refract package ghttp/gredis/glog 2021-09-27 21:27:24 +08:00
John Guo
cc60bc9dab fix issue printing to stdout using fmt.Fprintf for package glog 2021-09-01 16:14:17 +08:00
John Guo
abc8e62d58 add package gcode and improve error implements for package gerror 2021-08-24 21:18:59 +08:00
John Guo
a229960218 add context id feature for package gctx/glog 2021-08-20 15:44:08 +08:00
John Guo
314bee2b4e remove context key printing into logging content for context feature of package glog 2021-08-19 15:35:41 +08:00
John Guo
050c93ee8d Merge branch 'develop' of https://github.com/gogf/gf 2021-08-19 14:12:04 +08:00
wanna
31ef4e7b5a fmt 2021-08-13 13:27:43 +08:00