log icon indicating copy to clipboard operation
log copied to clipboard

Individual levels for multi handler

Open claytoncasey01 opened this issue 6 years ago • 1 comments

It would be nice when using the multi handler if we could set the individual logging level for each handler. For example in my application I only want info to be logged to the cli and Warn, Error, and Fatal to be written out as json to a file.

Based on an initial look this might require a lot of changes since Level is currently part of the Logger struct.

claytoncasey01 avatar Apr 12 '18 17:04 claytoncasey01

Agreed, I'd like if Logger/Entry had more parity, might have to be a v2 thing

tj avatar Apr 12 '18 17:04 tj