-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
I'd like to add following enhancements:
- generalise
ApacheLoggerActions
from wai-logger to something likeFastLoggerActions
with configurable auto-rotate and auto-log-timestamp capabilities, add these to fast-logger.
Motivation: timestamp logging is absolutely necessary, a lot of librarys doing this in a very inefficient way, for example, logging doing this with a system call and a directly show
. The work you have done in wai-logger is awesome!
- add
runFastLoggerLoggingT :: MonadIO m => FastLoggerActions -> LoggingT m a -> m a
to monad-logger and re-exportFastLoggerActions
related functions from fast-logger.
Motivation: since monad-logger rely on fast-logger, we should provide ways to use it with MonadLogger
.
Are these changes look good to you? I'd like send a pr with those enhancement : )
Metadata
Metadata
Assignees
Labels
No labels