nuveo / log

A simple to use log system, minimalist but with features for debugging and differentiation of messages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for change output time format

ervilis opened this issue · comments

The output time is hard coded defined to use the 0000/00/00 00: 00: 00 format. I want to be able to format it any way I want.

My idea:

import (
	"github.com/nuveo/log"
}

func init {
	log.Settings.TimestampFormat = "0000-00-00T00:00:00.0000"
}

func main {}