nuxeo 0.1.0.0 → 0.1.0.1
raw patch · 2 files changed
+4/−4 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- nuxeo.cabal +1/−1
- src/Nuxeo/Log.hs +3/−3
nuxeo.cabal view
@@ -2,7 +2,7 @@ -- see http://haskell.org/cabal/users-guide/ name: nuxeo-version: 0.1.0.0+version: 0.1.0.1 synopsis: Nuxeo description: Nuxeo license: BSD3
src/Nuxeo/Log.hs view
@@ -30,9 +30,9 @@ type NuxeoLog = [NuxeoLogEntry] -- |Parse Nuxeo server.log--- > logs <- parseNuxeoLog v "/opt/nuxeo-data/log/server.log"--- > filter (\l -> (nuxeoLogEntryType l == Error)--- > || (nuxeoLogEntryType l == Warning)) logs+-- >logs <- parseNuxeoLog v "/opt/nuxeo-data/log/server.log"+-- >filter (\l -> (nuxeoLogEntryType l == Error)+-- > || (nuxeoLogEntryType l == Warning)) logs parseNuxeoLog :: Verbose -> FilePath -> IO NuxeoLog parseNuxeoLog v logpath = runConduitRes $ sourceFile logpath .| sinkParser (nuxeoLogParser v)