forked from Skyrat-SS13/Skyrat-tg
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "[MIRROR] JSON Logging Take Two [MDB IGNORE] (Skyrat-SS13#21329)"
This reverts commit 649c250.
- Loading branch information
Showing
57 changed files
with
379 additions
and
1,111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
// Logging types for log_message() | ||
#define LOG_SUBTLE (1 << 22) | ||
#define LOG_SUBTLER (1 << 23) | ||
#define LOG_SUBTLER (1 << 22) | ||
|
||
//Individual logging panel pages | ||
#undef INDIVIDUAL_EMOTE_LOG | ||
#define INDIVIDUAL_EMOTE_LOG (LOG_EMOTE | LOG_SUBTLE | LOG_SUBTLER) | ||
#define INDIVIDUAL_EMOTE_LOG (LOG_EMOTE | LOG_SUBTLER) | ||
#undef INDIVIDUAL_SHOW_ALL_LOG | ||
#define INDIVIDUAL_SHOW_ALL_LOG (LOG_ATTACK | LOG_SAY | LOG_WHISPER | LOG_EMOTE | LOG_SUBTLE | LOG_SUBTLER | LOG_DSAY | LOG_PDA | LOG_CHAT | LOG_COMMENT | LOG_TELECOMMS | LOG_OOC | LOG_ADMIN | LOG_OWNERSHIP | LOG_GAME | LOG_ADMIN_PRIVATE | LOG_ASAY | LOG_MECHA | LOG_VIRUS | LOG_SHUTTLE | LOG_ECON) | ||
#define INDIVIDUAL_SHOW_ALL_LOG (LOG_ATTACK | LOG_SAY | LOG_WHISPER | LOG_EMOTE | LOG_SUBTLER | LOG_DSAY | LOG_PDA | LOG_CHAT | LOG_COMMENT | LOG_TELECOMMS | LOG_OOC | LOG_ADMIN | LOG_OWNERSHIP | LOG_GAME | LOG_ADMIN_PRIVATE | LOG_ASAY | LOG_MECHA | LOG_VIRUS | LOG_SHUTTLE | LOG_ECON) | ||
|
||
// Investigate | ||
#define INVESTIGATE_CIRCUIT "circuit" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,29 @@ | ||
/// Logging for traitor objectives | ||
/proc/log_traitor(text, list/data) | ||
logger.Log(LOG_CATEGORY_GAME_TRAITOR, text, data) | ||
/proc/log_traitor(text) | ||
if (CONFIG_GET(flag/log_traitor)) | ||
WRITE_LOG(GLOB.world_game_log, "TRAITOR: [text]") | ||
|
||
/// Logging for items purchased from a traitor uplink | ||
/proc/log_uplink(text, list/data) | ||
logger.Log(LOG_CATEGORY_UPLINK, text, data) | ||
/proc/log_uplink(text) | ||
if (CONFIG_GET(flag/log_uplink)) | ||
WRITE_LOG(GLOB.world_uplink_log, "UPLINK: [text]") | ||
|
||
/// Logging for upgrades purchased by a malfunctioning (or combat upgraded) AI | ||
/proc/log_malf_upgrades(text, list/data) | ||
logger.Log(LOG_CATEGORY_UPLINK_MALF, text, data) | ||
/proc/log_malf_upgrades(text) | ||
if (CONFIG_GET(flag/log_uplink)) | ||
WRITE_LOG(GLOB.world_uplink_log, "MALF UPGRADE: [text]") | ||
|
||
/// Logging for changeling powers purchased | ||
/proc/log_changeling_power(text, list/data) | ||
logger.Log(LOG_CATEGORY_UPLINK_CHANGELING, text, data) | ||
/proc/log_changeling_power(text) | ||
if (CONFIG_GET(flag/log_uplink)) | ||
WRITE_LOG(GLOB.world_uplink_log, "CHANGELING: [text]") | ||
|
||
/// Logging for heretic powers learned | ||
/proc/log_heretic_knowledge(text, list/data) | ||
logger.Log(LOG_CATEGORY_UPLINK_HERETIC, text, data) | ||
/proc/log_heretic_knowledge(text) | ||
if (CONFIG_GET(flag/log_uplink)) | ||
WRITE_LOG(GLOB.world_uplink_log, "HERETIC RESEARCH: [text]") | ||
|
||
/// Logging for wizard powers learned | ||
/proc/log_spellbook(text, list/data) | ||
logger.Log(LOG_CATEGORY_UPLINK_SPELL, text, data) | ||
/proc/log_spellbook(text) | ||
if (CONFIG_GET(flag/log_uplink)) | ||
WRITE_LOG(GLOB.world_uplink_log, "SPELLBOOK: [text]") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.