inconshreveable / log15

Structured, composable logging for Go
https://godoc.org/github.com/inconshreveable/log15
Other
1.1k stars 145 forks source link

add path for log file #136

Closed xuruiray closed 6 years ago

xuruiray commented 6 years ago

You can use paths when creating log files

kevinburke commented 6 years ago

Thanks for this, but I think this is better handled in your own code! Just be sure to create the directory before initializing the handler if need be.