Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
perxis-go
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
perxis
perxis-go
Commits
f4c41f7e
Commit
f4c41f7e
authored
1 year ago
by
ensiouel
Browse files
Options
Downloads
Plain Diff
Merge branch 'feature/PRXS-951-1964-ZapCustomFields' into feature/PRXS-951-1961-ZapIntergration
parents
c475b6d6
640ec846
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
pkg/log/zap/field.go
+1
-1
1 addition, 1 deletion
pkg/log/zap/field.go
with
1 addition
and
1 deletion
pkg/log/zap/field.go
+
1
−
1
View file @
f4c41f7e
...
@@ -25,7 +25,7 @@ func Event(event string) zapcore.Field {
...
@@ -25,7 +25,7 @@ func Event(event string) zapcore.Field {
return
zap
.
String
(
"event"
,
event
)
return
zap
.
String
(
"event"
,
event
)
}
}
// Object
добавля
ет передаваемый аргумент в качестве идентификатор объекта в формате GlobalID.
// Object
возвращает после и устанавлива
ет передаваемый аргумент в качестве идентификатор
а
объекта в формате GlobalID.
// Поддерживает один из типов: string, fmt.Stringer. Если передан аргумент другого типа, в качестве вызывающего
// Поддерживает один из типов: string, fmt.Stringer. Если передан аргумент другого типа, в качестве вызывающего
// будет установлен "unknown".
// будет установлен "unknown".
func
Object
(
v
any
)
zapcore
.
Field
{
func
Object
(
v
any
)
zapcore
.
Field
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment