nuxeo-0.2.0.3: Nuxeo

Safe HaskellNone
LanguageHaskell2010

Nuxeo.Log

Synopsis

Documentation

parseNuxeoLog :: NuxeoLogVerbose -> FilePath -> IO NuxeoLog Source #

Parse Nuxeo server.log

logs <- parseNuxeoLog v "optnuxeo-datalogserver.log"
filter (l -> (nuxeoLogEntryType l == Error)
           || (nuxeoLogEntryType l == Warning)) logs