|
1 | | -{-# LANGUAGE Rank2Types #-} |
2 | | -{-# LANGUAGE RecordWildCards #-} |
| 1 | +{-# LANGUAGE Rank2Types #-} |
| 2 | +{-# LANGUAGE RecordWildCards #-} |
3 | 3 |
|
4 | 4 | -- | an interface to 'log-warper' |
5 | 5 | -- functions and types gradually migrate towards 'katip' |
@@ -70,27 +70,24 @@ module Pos.Util.Wlog |
70 | 70 | , setLevel -- call sites: 1 networking/src/Network/Broadcast/OutboundQueue/Demo.hs |
71 | 71 | ) where |
72 | 72 |
|
73 | | -import System.Wlog ({-CanLog (..),-} HandlerWrap (..), HasLoggerName (..), |
74 | | - {-LogEvent (..),-} LoggerConfig (..), LoggerName (..), |
75 | | - LoggerNameBox (..), {-NamedPureLogger (..),-} Severity (..), |
76 | | - {-WithLogger,-} consoleActionB, debugPlus, |
77 | | - defaultHandleAction, {-dispatchEvents,-} errorPlus, |
78 | | - fromScratch, hwFilePath, infoPlus, {-launchNamedPureLog,-} |
79 | | - lcLogsDirectory, lcTermSeverityOut, lcTree, {-logDebug,-} |
80 | | - {-logError,-} {-logInfo,-} logMCond, {-logMessage,-} {-logNotice,-} |
81 | | - {-logWarning,-} ltFiles, ltSeverity, ltSubloggers, |
| 73 | +import System.Wlog (HandlerWrap (..), HasLoggerName (..), |
| 74 | + LoggerConfig (..), LoggerName (..), LoggerNameBox (..), |
| 75 | + Severity (..), consoleActionB, debugPlus, |
| 76 | + defaultHandleAction, errorPlus, fromScratch, hwFilePath, |
| 77 | + infoPlus, lcLogsDirectory, lcTermSeverityOut, lcTree, |
| 78 | + logMCond, ltFiles, ltSeverity, ltSubloggers, |
82 | 79 | maybeLogsDirB, modifyLoggerName, noticePlus, |
83 | 80 | parseLoggerConfig, productionB, removeAllHandlers, |
84 | | - retrieveLogContent, {-runNamedPureLog,-} setLevel, |
85 | | - setupLogging, showTidB, termSeveritiesOutB, |
86 | | - updateGlobalLogger, usingLoggerName, warningPlus, |
87 | | - zoomLogger) |
| 81 | + retrieveLogContent, setLevel, setupLogging, showTidB, |
| 82 | + termSeveritiesOutB, updateGlobalLogger, usingLoggerName, |
| 83 | + warningPlus, zoomLogger) |
88 | 84 | import System.Wlog.Formatter (centiUtcTimeF) |
89 | 85 | import System.Wlog.LogHandler (LogHandlerTag (HandlerFilelike)) |
90 | 86 |
|
91 | 87 | --import qualified Pos.Util.Log as Log |
92 | 88 |
|
93 | 89 | import Universum |
| 90 | + |
94 | 91 | import Control.Monad.Morph (MFunctor (..)) |
95 | 92 | import qualified Control.Monad.State.Lazy as StateLazy |
96 | 93 | import Data.Sequence ((|>)) |
|
0 commit comments