Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | provisional |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- class ToLog a where
- build :: a -> ByteStringBuilder
- buildLines :: [ByteStringBuilder] -> ByteStringBuilder
Documentation
build :: a -> ByteStringBuilder Source #
Convert a value to a loggable builder.
Instances
buildLines :: [ByteStringBuilder] -> ByteStringBuilder Source #
Intercalate a list of ByteStringBuilder
s with newlines.