Home > dlog

dlog

Dlog is a project mainly written in Go, it's free.

Provides a debug log. Similar to the log package (in fact, it uses it), but logs to stdout rather than stderr unless the error is fatal.

PACKAGE

package dlog import "github.com/wcspromoteam/dlog"

A simple debug logging package that provides facilities for logging things to a logfile.

FUNCTIONS

func Fatalf(format string, v ...interface{}) Output to stderr AND stdout

func Fatalln(v ...interface{}) Outputs to stderr AND stdout

func Printf(format string, v ...interface{}) Logs to stdout, which will end up in a log file.

func Println(v ...interface{}) Logs to stdout, which will end up in a log file.

Previous:320tutorial