hytale-logging
Installation
SKILL.md
Hytale Logging Skill
Use this skill when adding logging to Hytale plugins. Hytale provides HytaleLogger, a Flogger-based logger (com.google.common.flogger.AbstractLogger) that writes to the server's log file at {Hytale install}/UserData/Saves/{World}/logs.
Quick Reference
| Concept | Description |
|---|---|
| HytaleLogger | Main logging API, extends AbstractLogger from Google Flogger |
| Package | com.hypixel.hytale.logger.HytaleLogger |
| Log Levels | atInfo(), atWarning(), atSevere() (default visible levels) |
| Arguments | printf-style format specifiers (%s, %d, %f, %b, %c) |
| Exceptions | .withCause(exception) to attach stack traces |
| Backend | HytaleLoggerBackend — manages log levels and sinks |