yet-another-logger-0.2.1: 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.

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

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

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

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