Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debugf

func Debugf(format string, args ...interface{})

    Debugf prints the message to stderr, with no prefix.

    func Error

    func Error(msg string)

      Error prints the message to stderr, with a red ERROR prefix.

      func Errorf

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

        Errorf prints the message to stderr, with a red ERROR prefix.

        func SetLevel

        func SetLevel(l Level)

          SetLevel for the global logger.

          func Warnf

          func Warnf(format string, args ...interface{})

            Warnf prints the message to stderr, with a yellow WARN prefix.

            Types

            type Level

            type Level uint8
            const (
            	ErrorLevel Level = iota
            	WarnLevel
            	DebugLevel
            )

            Source Files