ldmud-3.4.1/doc/
ldmud-3.4.1/doc/efun.de/
ldmud-3.4.1/doc/efun/
ldmud-3.4.1/doc/man/
ldmud-3.4.1/doc/other/
ldmud-3.4.1/mud/
ldmud-3.4.1/mud/heaven7/
ldmud-3.4.1/mud/lp-245/
ldmud-3.4.1/mud/lp-245/banish/
ldmud-3.4.1/mud/lp-245/doc/
ldmud-3.4.1/mud/lp-245/doc/examples/
ldmud-3.4.1/mud/lp-245/doc/sefun/
ldmud-3.4.1/mud/lp-245/log/
ldmud-3.4.1/mud/lp-245/obj/Go/
ldmud-3.4.1/mud/lp-245/players/lars/
ldmud-3.4.1/mud/lp-245/room/death/
ldmud-3.4.1/mud/lp-245/room/maze1/
ldmud-3.4.1/mud/lp-245/room/sub/
ldmud-3.4.1/mud/lp-245/secure/
ldmud-3.4.1/mud/morgengrauen/
ldmud-3.4.1/mud/morgengrauen/lib/
ldmud-3.4.1/mud/sticklib/
ldmud-3.4.1/mud/sticklib/src/
ldmud-3.4.1/mudlib/uni-crasher/
ldmud-3.4.1/pkg/
ldmud-3.4.1/pkg/debugger/
ldmud-3.4.1/pkg/diff/
ldmud-3.4.1/pkg/misc/
ldmud-3.4.1/src/autoconf/
ldmud-3.4.1/src/hosts/
ldmud-3.4.1/src/hosts/GnuWin32/
ldmud-3.4.1/src/hosts/amiga/
ldmud-3.4.1/src/hosts/win32/
ldmud-3.4.1/src/ptmalloc/
ldmud-3.4.1/src/util/
ldmud-3.4.1/src/util/erq/
ldmud-3.4.1/src/util/indent/hosts/next/
ldmud-3.4.1/src/util/xerq/
ldmud-3.4.1/src/util/xerq/lpc/
ldmud-3.4.1/src/util/xerq/lpc/www/
ldmud-3.4.1/test/t-030925/
ldmud-3.4.1/test/t-040413/
ldmud-3.4.1/test/t-041124/
SYNOPSIS
        #include <sys/debug_message.h>

        void debug_message(string text)
        void debug_message(string text, int flags)

DESCRIPTION
        Prints the given text to stdout, stderr, the <host>.debug.log file,
        or any combination of these.

        The parameter <flags> is a combination of bitflags determining the
        target and the mode of writing.

        The target flags are: DMSG_STDOUT, DMSG_STDERR and DMSG_LOGFILE.
        If the flag DMSG_STAMP is given, the message is prepended with the
        current date and time in the format 'YYYY.MM.DD HH:MM:SS '.

        If <flags> is given as 0, left out, or contains no target
        definition, debug_message() will print to stdout and to the logfile.

EXAMPLE
        debug_message("This goes to stdout and the logfile.\n");
        debug_message("This goes to stderr.\n", DMSG_STDERR);
        debug_message("This goes to stdout and stderr.\n"
                     , DMSG_STDOUT | DMSG_STDERR);

        debug_message("This goes to stdout and the logfile, with timestamp.\n"
                     , DMSG_STAMP);
        debug_message("This goes to stdout and has the timestamp in front.\n"
                     , DMSG_STDOUT | DMSG_STAMP);

HISTORY
        Introduced in 3.2.1@34
        LDMud 3.2.9 introduced the <flags> parameter.

SEE ALSO
        last_instructions(E)