Skip to content

syslog severity mapping problem #142

Closed
@xjplke

Description

return h.writer.Info(string(bts))

All slog Level are set to syslog severity Info.
Suggest slog Level to syslog severity as sub:
PanicLevel -> LOG_EMERG
FatalLevel -> LOG_CRIT
ErrorLevel -> LOG_ERR
WarnLevel -> LOG_WARNING
NoticeLevel -> LOG_NOTICE
InfoLevel -> LOG_INFO
DebugLevel -> LOG_DEBUG
TraceLevel -> LOG_DEBUG

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or requestresolved

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions