Commit Graph

555 Commits

Author SHA1 Message Date
John Guo
66b8b591df fix issue in missing import for package gcode 2021-08-24 21:31:15 +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
c5345239fc improve logging content for package gcron 2021-08-20 15:49:45 +08:00
John Guo
a229960218 add context id feature for package gctx/glog 2021-08-20 15:44:08 +08:00
John Guo
43180ef239 improve package gcron 2021-08-20 14:09:15 +08:00
John Guo
e10240bd7c improve package gcron 2021-08-20 11:52:22 +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
John Guo
f03f56ba4e improve gconv.Struct for map attribute converting 2021-08-19 11:28:25 +08:00
John Guo
ad6c4f5245 improve session storage for package gsession 2021-08-16 21:47:45 +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
0d2ca48d16 update comment and standardize const naming for package gproc 2021-08-08 14:05:27 +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
dc407bf293 merge develop 2021-08-07 12:04:31 +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
0f6820df9e add more unit testing case for package gtimer 2021-08-06 14:13:37 +08:00
John Guo
0e158903c2 improve package gtimer for priority checks 2021-08-06 12:08:49 +08:00
John Guo
114cdb2351 improve package gtimer 2021-08-03 19:37:25 +08:00
John Guo
5a4de52900 fix invalid separator char in packing with prefix folder string in OS widnows for package gres 2021-08-02 19:58:04 +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
b192b7dd60 remove internal logging for package gtimer 2021-07-15 21:46:56 +08:00
John Guo
03d51bd18c add internal logging for package gtimer 2021-07-15 21:40:26 +08:00
John Guo
5c6c932a75 merge master 2021-07-15 21:23:36 +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
John Guo
3d4d3a763a comment update for package gfsnotify 2021-07-12 22:05:03 +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
91ca79b300 add context for intlog 2021-06-26 16:51: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
1441ce7f5f add examples for package gproc 2021-05-29 15:47:07 +08:00
John Guo
8acb921ee3 improve package gtimer for times limitation 2021-05-27 13:10:10 +08:00
John Guo
fc88001a8c revert name from Job to Entry for package gtimer/gcron 2021-05-26 09:55:33 +08:00
John Guo
4e41d8aff8 improve context and nested transaction feature for package gdb 2021-05-21 13:25:53 +08:00
John Guo
fac9ab5c01 improve package gvalid 2021-05-19 19:00:34 +08:00
John Guo
0dfd968824 comment update for package gconv/gproc 2021-05-17 21:26:39 +08:00
John Guo
b84ca9cc13 debug 2021-05-17 20:25:00 +08:00
John Guo
e5734425ba debug 2021-05-17 20:18:21 +08:00
John Guo
2274a10cfd fx issue #1250 2021-05-17 19:59:34 +08:00
John Guo
302e234bfe comment update for package gfsnotify 2021-05-17 19:17:04 +08:00
John Guo
522f6cb455 fix issue of failing in folder watching with no recursive option for package gfsnotify 2021-05-17 13:43:36 +08:00
John Guo
a757fbd37d improve package gcfg 2021-05-17 00:07:06 +08:00
John Guo
7003c284d0 replace json.Unmarshal with json.UnmarshalUseNumber for packages 2021-05-15 22:38:07 +08:00
John Guo
facb2949c3 improve unit testing cases for package gtimer 2021-05-15 18:31:46 +08:00
John Guo
1b1355a595 improve package gtimer 2021-05-15 18:27:46 +08:00
John Guo
d76e4c8aed refract package gtimer for more stable 2021-05-15 18:13:51 +08:00
John Guo
a326f4a989 improve package gi18n/gview/gvalid for more flexable i18n feature controll,add custom error configuration and i18n translation for custom error message 2021-05-13 00:16:45 +08:00
jflyfox
d0753fa527 Merge branch 'develop' 2021-04-26 20:38:16 +08:00
jflyfox
524e3bedc7 improve empty value validation for required-with* patterns for package gvalid 2021-04-26 20:37:36 +08:00
John Guo
ac4485dc84 comment update for package gsession 2021-04-02 18:00:50 +08:00
John Guo
ec00e99477 comments update for package gtime 2021-04-01 09:41:14 +08:00
John Guo
a73dca3e50
Merge pull request #1196 from yanllllk/yys 2021-04-01 09:27:59 +08:00
yys
ed71d2b2ac add test 2021-03-31 14:07:28 +08:00
John Guo
78027d2ec6 deprecated comments update 2021-03-30 13:43:08 +08:00
John Guo
d4e4b9addf improve package gcfg for automatically checking and adding path of package main 2021-03-29 18:05:47 +08:00
John Guo
6f1340ce36 upgrade otel from v0.18.0 to v0.19.0 2021-03-29 16:00:56 +08:00
yys
7c51ff4707 gtime 修改 2021-03-25 13:38:59 +08:00
John Guo
482e093331 add map/[]map converting support for gconv.Scan;improve gconv.MaptoMaps 2021-03-23 17:53:20 +08:00
John Guo
c423ad4830 fix issue in gfile.MainPkgPath;improve fields filter for package gdb 2021-03-23 14:21:54 +08:00
jianchenma
4aaf09fded improve gfile.MainPkgPath 2021-03-19 16:35:55 +08:00
jianchenma
2f3df76f37 fix issue #1190 2021-03-19 15:37:33 +08:00
jianchenma
36963c05a2 fix issue #1190 2021-03-19 11:35:12 +08:00
jianchenma
6a24b595f0 upgrade otel from 0.16.0 to 0.18.0 2021-03-18 10:39:23 +08:00
jianchenma
150f237f13 fix issue in incorrect parameter sequence in package gi18n;improve package gcfg for detailed error printing 2021-03-16 14:39:01 +08:00
yys
17233084f1 为gtime添加scanner和valuer 2021-03-13 14:07:22 +08:00
John Guo
6376b8aaa6 remove session storage file removing feature for package gsession 2021-03-11 21:21:47 +08:00
John Guo
58362ad143 add grand.D for random time.Duration;add checking and removing session files for package gsession 2021-03-11 20:05:08 +08:00
jflyfox
e5ca4e788e fix issue #1190 2021-03-03 14:29:01 +08:00
jflyfox
bd13de2b39 improve package internal/intlog 2021-03-01 17:50:02 +08:00