benilla-re systems structs docs

s_logWriters

global · ui

Address
0xb50540 · 8 bytes, up to 0xb50547
Type
void *[2]
Meaning
Holds the open chat log and combat log writers, null while closed
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.