Main Page | Modules | Data Structures | File List | Data Fields | Globals

# Logging codes

## Detailed Description

These constants are used by the code parameter of the Log function.

Unless specifically noted, messages can only be logged from a hook with a valid session. At the time when IPS calls `ipsInitialize` or `ipsFinalize` no session exists. In this situatin, only `ILC_MAIN_LOG` and `ILC_CONSOLE` are valid codes.

## Defines

#define | ILC_DEFAULT 0xf0000000
| Log to default log for the current session (Requires an active session).
#define | ILC_SYSTEM_LOG 0xf1000000
| Log to main log file (Also works from ipsInitialize and ipsFinalize without a session).
#define | ILC_SYSTEM_CONSOLE 0xf2000000
| Log to system console (Also works from ipsInitialize and ipsFinalize without a session).
#define | ILC_SYSTEM_LOG_CONSOLE ILC_SYSTEM_LOG|ILC_SYSTEM_CONSOLE
| Log to main log file and system console (Also works from ipsInitialize and ipsFinalize without a session).

## Define Documentation

#define ILC_DEFAULT 0xf0000000

| Log to default log for the current session (Requires an active session).

#define ILC_SYSTEM_LOG 0xf1000000

| Log to main log file (Also works from ipsInitialize and ipsFinalize without a session).

#define ILC_SYSTEM_CONSOLE 0xf2000000

| Log to system console (Also works from ipsInitialize and ipsFinalize without a session).

#define ILC_SYSTEM_LOG_CONSOLE ILC_SYSTEM_LOG|ILC_SYSTEM_CONSOLE

| Log to main log file and system console (Also works from ipsInitialize and ipsFinalize without a session).