byond - Modules - TypesVar Details - Proc Details

/datum/log_category

The main datum that contains all log entries for a category

Vars

categoryThe category this datum contains
config_flagIf set this config flag is checked to enable this log category
entriesList of all entries, in chronological order of when they were added

Procs

add_entryAdd an entry to this category. It is very important that any data you provide doesn't hold references to anything!
get_output_fileAllows for category specific file splitting. Needs to accept a null entry for the default file.
write_entryWrites an entry to the output file for the category

Var Details

category

The category this datum contains

config_flag

If set this config flag is checked to enable this log category

entries

List of all entries, in chronological order of when they were added

Proc Details

add_entry

Add an entry to this category. It is very important that any data you provide doesn't hold references to anything!

get_output_file

Allows for category specific file splitting. Needs to accept a null entry for the default file.

write_entry

Writes an entry to the output file for the category