LJ::debug — When $LJ::DEBUG is set, logs the given message to the Apache error log. Or, if $LJ::DEBUG is 2, then prints to STDOUT.
LJ::debug
(message);
message. Message to log.
cgi-bin/ljlib.pl
1 if logging disabled, 0 on failure to open log, 1 otherwise