Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Support for change output time format #12

Closed
ervilis opened this issue Aug 1, 2017 · 0 comments
Closed

Support for change output time format #12

ervilis opened this issue Aug 1, 2017 · 0 comments

Comments

@ervilis
Copy link
Contributor

ervilis commented Aug 1, 2017

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 {}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants