# Static Logger

This utility allows you to statically log messages using the Bukkit logging system, with the added benefit of a configurable variable to disallow logging "non-required" log messages, but also that restriction can be bypassed under some conditions.

<details>

<summary>Example</summary>

```java
public class ExamplePlugin extends AluminaPlugin {

    @Override
    public void load() {

    }

    @Override
    public void enable() {
        Logs.setDisabled(true); // Disable non-essential logs
        
        Logs.INFO.print("Hello, world!"); // This is a non-essential log
        
        Logs.INFO.print("Bye, world.", true); // This is an essential log
    }

    @Override
    public void disable() {

    }

}
```

</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://wiki.ericlmao.com/projects/alumina/static-logger.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.
