package
0.0.0-20220128155612-35dc932bf5c7
Repository: https://github.com/metaslink/common.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
NewFile creates a new file that will be rotated daily (at midnight in specified location).
NewFileWithPathGenerator creates a new file that will be rotated daily (at midnight in timezone specified by in specified location).
NewSyslogBackend connects to the syslog daemon using UNIX sockets with the given prefix.
NewSyslogBackendPriority is the same as NewSyslogBackend, but with custom syslog priority, like syslog.LOG_LOCAL3|syslog.LOG_DEBUG etc.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

File describes a file that gets rotated daily.
No description provided by the author
SyslogBackend is a simple logger to syslog backend.