package
0.0.0-20171011075504-07f7db3ea99f
Repository: https://github.com/mattn/go.git
Documentation: pkg.go.dev
# Packages
Package syslog provides a simple interface to the system log service.
# Functions
Fatal is equivalent to Print() followed by a call to os.Exit(1).
Fatalf is equivalent to Printf() followed by a call to os.Exit(1).
Fatalln is equivalent to Println() followed by a call to os.Exit(1).
Flags returns the output flags for the standard logger.
New creates a new Logger.
Output writes the output for a logging event.
Panic is equivalent to Print() followed by a call to panic().
Panicf is equivalent to Printf() followed by a call to panic().
Panicln is equivalent to Println() followed by a call to panic().
Prefix returns the output prefix for the standard logger.
Print calls Output to print to the standard logger.
Printf calls Output to print to the standard logger.
Println calls Output to print to the standard logger.
SetFlags sets the output flags for the standard logger.
SetOutput sets the output destination for the standard logger.
SetPrefix sets the output prefix for the standard logger.
# Constants
the date in the local time zone: 2009/01/23.
full file name and line number: /a/b/c/d.go:23.
microsecond resolution: 01:23:23.123123.
final file name element and line number: d.go:23.
initial values for the standard logger.
the time in the local time zone: 01:23:23.
if Ldate or Ltime is set, use UTC rather than the local time zone.