Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + func NewLogger(p Priority, logFlag int) (*log.Logger, error) — darwin/amd64, js/wasm, linux/amd64 + type Priority int — darwin/amd64, js/wasm, linux/amd64 + const LOG_ALERT + const LOG_AUTH + const LOG_AUTHPRIV + const LOG_CRIT + const LOG_CRON + const LOG_DAEMON + const LOG_DEBUG + const LOG_EMERG + const LOG_ERR + const LOG_FTP + const LOG_INFO + const LOG_KERN + const LOG_LOCAL0 + const LOG_LOCAL1 + const LOG_LOCAL2 + const LOG_LOCAL3 + const LOG_LOCAL4 + const LOG_LOCAL5 + const LOG_LOCAL6 + const LOG_LOCAL7 + const LOG_LPR + const LOG_MAIL + const LOG_NEWS + const LOG_NOTICE + const LOG_SYSLOG + const LOG_USER + const LOG_UUCP + const LOG_WARNING + type Writer struct — darwin/amd64, js/wasm, linux/amd64 + func Dial(network, raddr string, priority Priority, tag string) (*Writer, error) + func New(priority Priority, tag string) (*Writer, error) + func (w *Writer) Alert(m string) error + func (w *Writer) Close() error + func (w *Writer) Crit(m string) error + func (w *Writer) Debug(m string) error + func (w *Writer) Emerg(m string) error + func (w *Writer) Err(m string) error + func (w *Writer) Info(m string) error + func (w *Writer) Notice(m string) error + func (w *Writer) Warning(m string) error + func (w *Writer) Write(b []byte) (int, error)