benilla-re systems structs docs

s_loggingFlags

global · ui

Address
0xb4fdb4 · 8 bytes, up to 0xb4fdbb
Type
uint32_t[2]
Meaning
Holds whether chat and combat logging are on, set by LoggingChat and LoggingCombat
Confidence
verified, proof one
Finding
ui/chatwindows#chat-logging

Finding: Chat logging in ui: chat windows and their settings file

LoggingChat and LoggingCombat set a per-session flag from their argument and return 1 or nil. With no argument they only read. With an argument they store the flag read by 0x6f1c10 with default 1, and on the first enable create Logs\ and open Logs\WoWChatLog.txt or Logs\WoWCombatLog.txt for appending; a failed open stores 0 again. The return value is the number 1 or nil, never a boolean. Nothing prints on a change.

The derivation is in the doc.