Commit Graph

120 Commits

Author SHA1 Message Date
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
wanna
f56f689970 fmt 2021-08-13 13:24:28 +08:00
wanna
17b73e7cb3 add func SetWriterColorEnable for file log color 2021-08-13 13:20:33 +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
95a44122dd comment update for package glog 2021-08-12 10:47:05 +08:00
John Guo
3fc96f2bd0 add package gctx 2021-08-11 13:20:00 +08:00
John Guo
232751e3db improve context key and caller path&func outputs for logger of package glog 2021-08-10 15:46:40 +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
fc1dfb7ff9 comment update;standardize const naming for package gtcp/gudp 2021-08-08 13:10:21 +08:00
John Guo
4eb057227c add SizeFormat function for package gfile; add more internal logging for rotation feature for pacakge glog 2021-08-07 11:59:30 +08:00
John Guo
fa64df6f91 improve package gdb/glog 2021-08-01 10:33:33 +08:00
John Guo
0acd118c03 add ModelHandler feature for package gdb 2021-08-01 10:17:03 +08:00
John Guo
2b5244a54b unit testing cases update for package gredis/glog 2021-08-01 09:45:46 +08:00
John Guo
5899f676f7
Merge pull request #1347 from stardemo/develop
add basic action scripts
2021-08-01 09:17:31 +08:00
starliu
6240c3d90b disabled error test case to test action 2021-07-20 23:35:07 +08:00
John Guo
0ddacdd7e2 add error code for components 2021-07-20 23:02:02 +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
84aa30d9c2 允许日志文件中添加颜色 2021-07-13 22:45:35 +08:00
wanna
bc724deb5e 日志内容区分文件和控制台输出 2021-07-13 21:43:07 +08:00
wanna
bfdeb6c4f5 log color兼容win环境 2021-06-29 21:05:46 +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
d109706ad3 unify error package to gerror 2021-06-26 18:34:26 +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
c25f88293b unify command or enviroment key names for packages 2021-06-26 12:08:18 +08:00
John Guo
025cdd66c5 improve details for package glog 2021-06-26 11:25: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
702a296258 improve handler feature for package glog 2021-06-02 09:53:08 +08:00
John Guo
c3c5414ce2 add custom handler feature 2021-06-02 09:42:27 +08:00
John Guo
4e41d8aff8 improve context and nested transaction feature for package gdb 2021-05-21 13:25:53 +08:00
John Guo
6f1340ce36 upgrade otel from v0.18.0 to v0.19.0 2021-03-29 16:00:56 +08:00
jianchenma
813841bb68 rename GetWithEnv to GetOptWithEnv for packge gcmd 2021-02-02 15:16:09 +08:00
jianchenma
4c6d9f5eff improve tracing feture for package glog/gdb/gredis 2021-01-26 01:19:55 +08:00
jianchenma
e1418a2caa fix blocking issue in roration feature for package glog 2021-01-19 16:44:37 +08:00
John Guo
093034acd1 copyright comment update 2021-01-17 21:46:25 +08:00
John Guo
a9aa021914 add json tag for configuration struct for package gdb/gredis/ghttp/glog/gview 2021-01-12 00:42:33 +08:00
jflyfox
b12c909fd6 add logging level configuration for package ghttp 2021-01-06 01:00:49 +08:00