mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 21:12:24 +01:00
# Summary This PR refactores code and structure of the current persistence subsystem, in preparation for Persistency: Circles, Squares and Triangles. This should not contain any user facing changes. ~~This PR is based of branch #21925 and **needs** to be merged in order. The files changed display will be meaningless until then.~~ *Done.* ## Changes - Split subsystem in partial files. - Refactored proc names, added "persistentObject" format for current code. - Renamed SQL table. - Refactored logging and call hiearachy. - Fix CI labeler adding DB label on non-SQL files.
20 lines
631 B
Plaintext
20 lines
631 B
Plaintext
/proc/log_subsystem_persistence(text)
|
|
#if defined(UNIT_TEST)
|
|
LOG_GITHUB_DEBUG("SSPersistence: [text]")
|
|
#else
|
|
if (GLOB.config?.logsettings["log_subsystems_persistence"])
|
|
WRITE_LOG(GLOB.config.logfiles["world_subsystems_persistence_log"], "SSPersistence: [text]")
|
|
#endif
|
|
|
|
/proc/log_subsystem_persistence_info(text)
|
|
log_subsystem_persistence("INFO: [text]")
|
|
|
|
/proc/log_subsystem_persistence_warning(text)
|
|
log_subsystem_persistence("WARNING: [text]")
|
|
|
|
/proc/log_subsystem_persistence_error(text)
|
|
log_subsystem_persistence("ERROR: [text]")
|
|
|
|
/proc/log_subsystem_persistence_panic(text)
|
|
log_subsystem_persistence("PANIC: [text]")
|