| Copyright | Copyright (c) 2014-2015 PivotCloud, Inc. |
|---|---|
| License | Apache License, Version 2.0 |
| Maintainer | Lars Kuhtz <lkuhtz@pivotmail.com> |
| Stability | experimental |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
System.Logger.Internal
Description
- sshow :: (Show a, IsString b) => a -> b
- formatIso8601 :: IsString a => Natural -> TimeSpec -> a
- formatIso8601Milli :: IsString a => TimeSpec -> a
- formatIso8601Micro :: IsString a => TimeSpec -> a
- timeSpecToUtc :: TimeSpec -> UTCTime
Documentation
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