Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data GreengrassLogger = GreengrassLogger' {
- space :: Maybe Int
- type' :: LoggerType
- level :: LoggerLevel
- id :: Text
- component :: LoggerComponent
- newGreengrassLogger :: LoggerType -> LoggerLevel -> Text -> LoggerComponent -> GreengrassLogger
- greengrassLogger_space :: Lens' GreengrassLogger (Maybe Int)
- greengrassLogger_type :: Lens' GreengrassLogger LoggerType
- greengrassLogger_level :: Lens' GreengrassLogger LoggerLevel
- greengrassLogger_id :: Lens' GreengrassLogger Text
- greengrassLogger_component :: Lens' GreengrassLogger LoggerComponent
Documentation
data GreengrassLogger Source #
Information about a logger
See: newGreengrassLogger
smart constructor.
GreengrassLogger' | |
|
Instances
:: LoggerType | |
-> LoggerLevel | |
-> Text | |
-> LoggerComponent | |
-> GreengrassLogger |
Create a value of GreengrassLogger
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:space:GreengrassLogger'
, greengrassLogger_space
- The amount of file space, in KB, to use if the local file system is used
for logging purposes.
$sel:type':GreengrassLogger'
, greengrassLogger_type
- The type of log output which will be used.
$sel:level:GreengrassLogger'
, greengrassLogger_level
- The level of the logs.
$sel:id:GreengrassLogger'
, greengrassLogger_id
- A descriptive or arbitrary ID for the logger. This value must be unique
within the logger definition version. Max length is 128 characters with
pattern ''[a-zA-Z0-9:_-]+''.
$sel:component:GreengrassLogger'
, greengrassLogger_component
- The component that will be subject to logging.
greengrassLogger_space :: Lens' GreengrassLogger (Maybe Int) Source #
The amount of file space, in KB, to use if the local file system is used for logging purposes.
greengrassLogger_type :: Lens' GreengrassLogger LoggerType Source #
The type of log output which will be used.
greengrassLogger_level :: Lens' GreengrassLogger LoggerLevel Source #
The level of the logs.
greengrassLogger_id :: Lens' GreengrassLogger Text Source #
A descriptive or arbitrary ID for the logger. This value must be unique within the logger definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.
greengrassLogger_component :: Lens' GreengrassLogger LoggerComponent Source #
The component that will be subject to logging.