corrected docs
parent
373d0ef772
commit
5e021d190a
4
doc.go
4
doc.go
|
@ -5,7 +5,7 @@ Basic Usage
|
||||||
|
|
||||||
Basic usage of the flogger looks like this:
|
Basic usage of the flogger looks like this:
|
||||||
|
|
||||||
router := NewPrettyWritingRouter(os.Stdout)
|
router := flog.NewPrettyWritingRouter(os.Stdout)
|
||||||
|
|
||||||
flogger := flog.New(router)
|
flogger := flog.New(router)
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ For example:
|
||||||
|
|
||||||
switch deploymentEnvironment {
|
switch deploymentEnvironment {
|
||||||
case "DEV":
|
case "DEV":
|
||||||
router := NewPrettyWritingRouter(os.Stdout)
|
router := flog.NewPrettyWritingRouter(os.Stdout)
|
||||||
|
|
||||||
flogger = flog.New(router)
|
flogger = flog.New(router)
|
||||||
case "PROD":
|
case "PROD":
|
||||||
|
|
Loading…
Reference in New Issue