Logger in golang

If i use package for loggers github.com/inconshreveable/log15, How to create log.INFO and log.ERROR file in my specific file directory,

You can use a FileHandler to direct the log output to a file.

It seems that the log15 library is organized around handlers for maxium flexibility. See also the Handlers section in the intro part of the API documentation.

Okay Thank You,

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.