John Guo
3f69e0db36
improve error stack configuration for package gerror, add framework error stack filter for package glog ( #2918 )
2023-08-31 15:31:55 +08:00
xuyue86
3fab7a341d
feat(glog): add log rotation support for short-running process ( #2658 )
2023-06-29 20:29:33 +08:00
mason
ff6f5ce237
update default logging time format using SetTimeFormat ( #2611 )
2023-05-23 20:59:58 +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
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
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
wenzi
141f3512a9
fix glog bug ( #1844 )
2022-06-23 21:05:12 +08:00
John Guo
9ad9292321
improve handler feature for package glog
2022-04-29 14:13:54 +08:00
John Guo
dccfc1c8cd
add hook feature for model of package gdb
2022-03-14 23:47:55 +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
39bbca2a50
add stack filter of goframe module path for logging content
2021-12-10 18:52:35 +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
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
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
12f2193963
improve handler feature for package glog
2021-08-12 22:14:31 +08:00
John Guo
13ecbc263e
improve handler feature for package glog
2021-08-12 21:58:06 +08:00
John Guo
3fc96f2bd0
add package gctx
2021-08-11 13:20:00 +08:00
John Guo
83729f18ad
Merge branch 'develop'
2021-08-09 19:29:46 +08:00
John Guo
fdb6e70322
comment update for package glog
2021-08-09 19:29:11 +08:00
John Guo
efaf3d591c
comment update for package glog
2021-08-09 19:25:23 +08:00
wanna
9d4382d12e
fmt
2021-08-08 16:58:15 +08:00
wanna
9ee76ecc93
fix print log on windows
2021-08-08 16:23:25 +08:00
John Guo
f1857df5e2
comment update for package glog
2021-08-08 13:56:26 +08:00
John Guo
92c3c136f9
improve color feature for package glog
2021-07-15 21:20:29 +08:00
John Guo
fae4dea37a
improve color feature for package glog
2021-07-15 13:31:32 +08:00
wanna
30dbccf99e
输出对应err
2021-07-14 21:28:23 +08:00
wanna
9b2497bc57
Merge branch 'develop-up' into develop
...
* develop-up: (38 commits)
revert gerror usage for package gvalid
unify error package to gerror
add CtxStrict feature for package gdb
rename constants of package gpage from skake to upper camel case
add context for intlog
improve Record/Result converting for package gdb
add context for intlog/gsession;improve struct/structs converting for package gconv
unify command or enviroment key names for packages
improve details for package glog
add file configuration support for logger in ghttp.Server
version updates
add more unit testing cases for package ghttp
add automatic fields mapping and filtering for Model.Where statements
improve Order feature for package gdb
improve function Increment/Decrement for package gdb
add auto fields filtering feature for function Scan of package gdb; mark funtcion Struct/Structs deprecated for gdb.Model
improve record converting for package gdb
improve transaction feature for package gdb
improve caller path filtering for package gdebug
improve caller path filtering for package gdebug
...
# Conflicts:
# os/glog/glog_logger.go
# os/glog/glog_logger_config.go
# os/glog/glog_logger_level.go
2021-07-14 21:12:18 +08:00
wanna
bc724deb5e
日志内容区分文件和控制台输出
2021-07-13 21:43:07 +08:00
wanna
03928f1977
add logging level prefix with color or not config
2021-06-28 00:58:35 +08:00
wanna
a2771c7558
format code
2021-06-28 00:23:25 +08:00
wanna
968e1db94d
add log level prefix color
2021-06-28 00:00:44 +08:00
John Guo
50ffaef33f
add context for intlog/gsession;improve struct/structs converting for package gconv
2021-06-26 16:23:54 +08:00
John Guo
237f172ae5
add file configuration support for logger in ghttp.Server
2021-06-26 11:18:44 +08:00
John Guo
7c4a0453b7
improve handler feature for package glog
2021-06-08 21:35:54 +08:00
John Guo
c3c5414ce2
add custom handler feature
2021-06-02 09:42:27 +08:00
John Guo
6f1340ce36
upgrade otel from v0.18.0 to v0.19.0
2021-03-29 16:00:56 +08:00