| Copyright | Copyright (c) 2016-2018 Lars Kuhtz <lakuhtz@gmail.com> Copyright (c) 2014-2015 PivotCloud Inc. |
|---|---|
| License | Apache License, Version 2.0 |
| Maintainer | Lars Kuhtz <lakuhtz@gmail.com> |
| Stability | experimental |
| Safe Haskell | Safe |
| Language | Haskell2010 |
System.Logger.Internal
Description
Synopsis
- 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: 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