yet-another-logger-0.2.3: Yet Another Logger

CopyrightCopyright (c) 2014-2015 PivotCloud, Inc.
LicenseApache License, Version 2.0
MaintainerLars Kuhtz <lkuhtz@pivotmail.com>
Stabilityexperimental
Safe HaskellSafe-Inferred
LanguageHaskell2010

System.Logger.Internal

Description

 

Synopsis

Documentation

sshow :: (Show a, IsString b) => a -> b Source

formatIso8601 Source

Arguments

:: IsString a 
=> Natural

precision, a value between 0 (seconds) and 6 (microseconds)

-> TimeSpec 
-> a 

Format TimeSpec as ISO8601 date-time string with the given sub-second precision.

@since 0.2

formatIso8601Milli :: IsString a => TimeSpec -> a Source

Format TimeSpec as ISO8601 date-time string with milliseconds precision.

@since 0.2

formatIso8601Micro :: IsString a => TimeSpec -> a Source

Format TimeSpec as ISO8601 date-time string with microseconds precision.

@since 0.2

timeSpecToUtc :: TimeSpec -> UTCTime Source

Convert a TimeSpec value into UTCTime

@since 0.2