Copyright | (c) 2013-2023 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 | Safe-Inferred |
Language | Haskell2010 |
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.