DiagnosticsReport

class DiagnosticsReport(plugin: Plugin, configuration: LunaticChatConfiguration, services: ServiceContainer, debugState: DebugState, directory: Path = plugin.dataFolder.resolve("debug").toPath())(source)

The report /lc dump writes, and the rule about what may go in it.

It exists to be pasted into a bug report by someone who is not reading it first, so it carries only what the maintainers need to reproduce a problem: versions, which features are on, and how much of each store is populated. No message body, player name or UUID is ever written - those would leave a public issue holding the chat of people who never agreed to that.

Constructors

Link copied to clipboard
constructor(plugin: Plugin, configuration: LunaticChatConfiguration, services: ServiceContainer, debugState: DebugState, directory: Path = plugin.dataFolder.resolve("debug").toPath())

Functions

Link copied to clipboard
fun write(): Path

Writes the report and returns the file it landed in.