Skip to content

LoggingConsole

Damian Monogue edited this page Feb 7, 2021 · 1 revision

What black magic is this?

It's just a Geyser MiniConsole that logs the things you echo or append to it. It has everything which the Geyser.MiniConsole has, but it also writes logs.

Wait really?

Yeah, really. Well, mostly. It includes wrappers for all the echo and append functions to handle the logging. It also allows for some templating for the log filename, so you can name files and directories based on the date and/or name of the console.

What's the catch?

You have to also include demontools.lua in your package if you include loggingconsole.lua, as it makes use of many of the functions therein. You don't have to require it in your scripts, but it has to be in the same directory as loggingconsole.lua.

Give it to me now

Geyser.MiniConsole Manual
Geyser.MiniConsole API Docs
LoggingConsole API Docs

Clone this wiki locally