This commit is contained in:
Roman Khafizianov 2023-06-22 16:26:09 +02:00
parent f63481edcc
commit 740e129505
No known key found for this signature in database
GPG Key ID: F07A7D55A2684852

View File

@ -50,7 +50,7 @@ type ComponentRunnable interface {
} }
type ComponentLogFieldsGetter interface { type ComponentLogFieldsGetter interface {
// GetLogFields returns additional useful fields for logs to debug log app start time or something else in the future // GetLogFields returns additional useful fields for logs to debug long app start/stop duration or something else in the future
// You don't need to provide the component name in the field's Key, because it will be added automatically // You don't need to provide the component name in the field's Key, because it will be added automatically
GetLogFields() []zap.Field GetLogFields() []zap.Field
} }