logger

package
v0.0.0-...-14f7cec Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2019 License: Apache-2.0 Imports: 5 Imported by: 5

Documentation

Overview

Package logger provides a logger that writes to the syslog.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(a ...interface{})

Error logs an error level message to the syslog.

func Errorf

func Errorf(format string, a ...interface{})

Errorf logs an error level message to the syslog.

func Fatal

func Fatal(a ...interface{})

Fatal logs a crit level message to the syslog and exits with a non-zero exit code.

func Fatalf

func Fatalf(format string, a ...interface{})

Fatalf logs a crit level message to the syslog and exits with a non-zero exit code.

func Info

func Info(a ...interface{})

Info logs an info level message to the syslog.

func Infof

func Infof(format string, a ...interface{})

Infof logs an info level message to the syslog.

func Notice

func Notice(a ...interface{})

Notice logs a notice level message to the syslog.

func Noticef

func Noticef(format string, a ...interface{})

Noticef logs a notice level message to the syslog.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL