name: hslogger-reader
version: 1.0.1
synopsis: Parsing hslogger-produced logs.
description:
hslogger-reader provides a function to generate a parser for
<http://hackage.haskell.org/package/hslogger hslogger>-produced logs
from a hslogger format string (see "System.Log.Formatter"). The
accompanying executable demonstrates parsing and computing with a
log file in constant memory.
license: BSD3
license-file: LICENSE
author: Alex Bates
maintainer: ard.bates@gmail.com
build-type: Simple
homepage: http://github.com/prophet-on-that/hslogger-reader
bug-reports: http://github.com/prophet-on-that/hslogger-reader/issues
cabal-version: >=1.10
category: Interfaces, Parsing
Extra-Source-Files: changelog
Flag old-locale
Description: When enabled, use time < 1.5
Default: False
library
exposed-modules:
System.Log.Reader
hs-source-dirs:
src
default-language:
Haskell2010
build-depends:
base >= 4.7 && < 5
, attoparsec == 0.12.*
, text == 1.2.*
, hslogger == 1.2.*
if flag(old-locale)
build-depends:
time == 1.4.*
, old-locale
else
build-depends:
time == 1.5.*
ghc-options: -W
executable profiling
hs-source-dirs: src-exe/profiling
main-is:
Main.hs
default-language: Haskell2010
build-depends:
base
, hslogger-reader
, text
, attoparsec
ghc-options: -W
executable filter-logs
hs-source-dirs: src-exe/filter-logs
main-is:
Main.hs
other-modules:
Arguments
default-language: Haskell2010
build-depends:
base
, hslogger-reader
, text
, attoparsec
, hslogger
, text-icu == 0.7.*
, optparse-applicative == 0.11.*
if flag(old-locale)
build-depends:
time == 1.4.*
, old-locale
else
build-depends:
time == 1.5.*
ghc-options: -W