# Instance Members

Every Appender has access to the following public variables and injected references.

## Log Levels Enum

| Property         | Description                                                                                                                                        |
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| `this.logLevels` | A reference to the `logbox.system.logging.LogLevels` class. Use this to access level constants (`this.logLevels.DEBUG`, etc.) and utility methods. |

## Injected References

These variables are automatically set by LogBox when the appender is registered. They are available as `variables.*` inside your appender and are empty strings (`""`) when LogBox is running in standalone mode (outside a ColdBox application).

| Property  | Description                                                                  |
| --------- | ---------------------------------------------------------------------------- |
| `logBox`  | A reference to the running `LogBox` instance.                                |
| `coldbox` | A reference to the ColdBox application controller. Empty in standalone mode. |
| `wirebox` | A reference to the WireBox injector. Empty in standalone mode.               |

## Configuration Properties

| Property      | Default                        | Description                                                                                                                                                                                                                                                                                      |
| ------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `lockTimeout` | `25`                           | Timeout in seconds used by the base `lock()` helper when acquiring named locks during concurrent appender operations.                                                                                                                                                                            |
| `logListener` | `{ active: false, queue: [] }` | Internal state for the async queue system. `active` indicates whether the log-listener scheduled task is currently running; `queue` is the array of pending log payloads awaiting processing. See [Async Appenders](/extending-logbox/creating-custom-appenders/async-appenders.md) for details. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://logbox.ortusbooks.com/extending-logbox/creating-custom-appenders/instance-members.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
