You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typeConfigstruct {
// ErrorOutputPaths is a list of URLs to write internal logger errors to.// The default is standard error.//// Note that this setting only affects internal errors; for sample code that// sends error-level logs to a different location from info- and debug-level// logs, see the package-level AdvancedConfiguration example.ErrorOutputPaths [][string](https://pkg.go.dev/builtin#string) `json:"errorOutputPaths" yaml:"errorOutputPaths"`
}
Hello everyone, I would like to know what "internal logger errors" in the above document means?
Can the error generated by logger.Sugar().Infow("message", 0, 1) be regarded as an internal error? Can you provide an example of outputting information to "ErrorOutputPaths"?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello everyone, I would like to know what "internal logger errors" in the above document means?
Can the error generated by
logger.Sugar().Infow("message", 0, 1)
be regarded as an internal error? Can you provide an example of outputting information to "ErrorOutputPaths"?Beta Was this translation helpful? Give feedback.
All reactions