Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cleanup

func Cleanup()

    Shutdown the logging backend.

    func Init

    func Init(config *Config) error

      Initialize the logging backend. Colored output is disabled since it isn't supported on all platforms and because it will cause problems when redirecting log output to a file.

      Types

      type Config

      type Config struct {
      	Debug   bool   `json:"debug"`
      	Logfile string `json:"logfile"`
      }

        Configuration for logging.