Documentation ¶
Overview ¶
Package logger provides logging facilities for the NATS server
Index ¶
- type Logger
- type SysLogger
- func (l *SysLogger) Debugf(format string, v ...interface{})
- func (l *SysLogger) Errorf(format string, v ...interface{})
- func (l *SysLogger) Fatalf(format string, v ...interface{})
- func (l *SysLogger) Noticef(format string, v ...interface{})
- func (l *SysLogger) Tracef(format string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger is the server logger
func NewFileLogger ¶
NewFileLogger creates a logger with output directed to a file
func NewStdLogger ¶
NewStdLogger creates a logger with output directed to Stderr
type SysLogger ¶
type SysLogger struct {
// contains filtered or unexported fields
}
SysLogger provides a system logger facility
func NewRemoteSysLogger ¶
NewRemoteSysLogger creates a new remote system logger
func NewSysLogger ¶
NewSysLogger creates a new system logger
Click to show internal directories.
Click to hide internal directories.