logger

package
v0.6.8 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Copyright 2012-2015 Apcera Inc. All rights reserved.

Index

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
}

func NewFileLogger

func NewFileLogger(filename string, time, debug, trace, pid bool) *Logger

func NewStdLogger

func NewStdLogger(time, debug, trace, colors, pid bool) *Logger

func (*Logger) Debugf

func (l *Logger) Debugf(format string, v ...interface{})

func (*Logger) Errorf

func (l *Logger) Errorf(format string, v ...interface{})

func (*Logger) Fatalf

func (l *Logger) Fatalf(format string, v ...interface{})

func (*Logger) Noticef

func (l *Logger) Noticef(format string, v ...interface{})

func (*Logger) Tracef

func (l *Logger) Tracef(format string, v ...interface{})

type SysLogger

type SysLogger struct {
	// contains filtered or unexported fields
}

func NewRemoteSysLogger

func NewRemoteSysLogger(fqn string, debug, trace bool) *SysLogger

func NewSysLogger

func NewSysLogger(debug, trace bool) *SysLogger

func (*SysLogger) Debugf

func (l *SysLogger) Debugf(format string, v ...interface{})

func (*SysLogger) Errorf

func (l *SysLogger) Errorf(format string, v ...interface{})

func (*SysLogger) Fatalf

func (l *SysLogger) Fatalf(format string, v ...interface{})

func (*SysLogger) Noticef

func (l *SysLogger) Noticef(format string, v ...interface{})

func (*SysLogger) Tracef

func (l *SysLogger) Tracef(format string, v ...interface{})

Jump to

Keyboard shortcuts

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