yet-another-logger-0.3.1: Yet Another Logger

CopyrightCopyright (c) 2016-2018 Lars Kuhtz <lakuhtz@gmail.com>
Copyright (c) 2014-2015 PivotCloud Inc.
LicenseApache License, Version 2.0
MaintainerLars Kuhtz <lakuhtz@gmail.com>
Stabilityexperimental
Safe HaskellSafe
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: yet-another-logger-0.2

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

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

Since: yet-another-logger-0.2

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

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

Since: yet-another-logger-0.2

timeSpecToUtc :: TimeSpec -> UTCTime Source #

Convert a TimeSpec value into UTCTime

Since: yet-another-logger-0.2