Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoLog

Golang Logging custom module

Release Go Report Card

Package

Package golog provides functions for logging in go programs with different severity levels and a optional debug mode

import "github.com/r2dedios/golog"

Functions

func Debug(msg ...interface{})
    Debug prints a Debug level message

func Err(msg ...interface{})
    Err prints a Error level message

func Info(msg ...interface{})
    Info prints a Info level message

func Init(okHandle io.Writer, infoHandle io.Writer, warningHandle io.Writer, errorHandle io.Writer, debugHandle io.Writer, header *string, debugMode bool)
    Init create the loggers for each log level

func Ok(msg ...interface{})
    Ok prints a OK level message

func Warn(msg ...interface{})
    Warn prints a Warning level message

About

Golang Logging custom module

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages