Categorygithub.com/sigmonsays/go-logging
modulepackage
0.0.0-20220128052735-680ed4f96095
Repository: https://github.com/sigmonsays/go-logging.git
Documentation: pkg.go.dev

# README

leveled logging libary in go

documentation - http://godoc.org/github.com/sigmonsays/go-logging

quickstart

in log.go add the following

  package whatever
  import (
      gologging "github.com/sigmonsays/go-logging.git"
  )

  var log gologging.Logger
  func init() {
     log = gologging.Register("whatever", func(newlog gologging.Logger) { log = newlog })
  }

to change the log level of all loggers

  gologging.SetLogLevel("ERROR")

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
standard logger.
No description provided by the author
No description provided by the author
standard logger.
No description provided by the author
No description provided by the author
register a logger name if the name is not found, we use the standard logger.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
helper functions to use the provided "standard" logger print style functions helper functions.
printf style functions helper functions.
No description provided by the author
No description provided by the author

# Constants

TRACE 0, DEBUG 10, INFO 20, WARNING 30, ERROR 40, CRITICAL 50.
TRACE 0, DEBUG 10, INFO 20, WARNING 30, ERROR 40, CRITICAL 50.
TRACE 0, DEBUG 10, INFO 20, WARNING 30, ERROR 40, CRITICAL 50.
TRACE 0, DEBUG 10, INFO 20, WARNING 30, ERROR 40, CRITICAL 50.
TRACE 0, DEBUG 10, INFO 20, WARNING 30, ERROR 40, CRITICAL 50.
TRACE 0, DEBUG 10, INFO 20, WARNING 30, ERROR 40, CRITICAL 50.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author