# `Bonny.Pluggable.Logger`
[🔗](https://github.com/coryodaniel/bonny/blob/v1.5.0/lib/bonny/pluggable/logger.ex#L1)

A pluggable step for logging basic action event information in the format:

    {"NAMESPACE/OBJECT_NAME", API_VERSION, "Kind=KIND, Action=ACTION"}

Example:

    {"default/my-object", "example.com/v1", "Kind=MyCustomResource, Action=:add"} - Processing event
    {"default/my-object", "example.com/v1", "Kind=MyCustomResource, Action=:add"} - Applying status
    {"default/my-object", "example.com/v1", "Kind=MyCustomResource, Action=:add"} - Emitting Normal event
    {"default/my-object", "example.com/v1", "Kind=MyCustomResource, Action=:add"} - Applying descendant {"default/nginx", "apps/v1", "Kind=Deployment"}

To use it, just add a step to the desired module.

    step Bonny.Pluggable.Logger, level: :debug

## Options

  * `:level` - The log level at which this plug should log its request info.
    Default is `:info`.
    The [list of supported levels](https://hexdocs.pm/logger/Logger.html#module-levels)
    is available in the `Logger` documentation.

# `call`

# `init`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
