OnLogAction Forward

Called when an action is going to be logged.

Action OnLogAction(Handle source, Identity ident, int client, int target, const char[] message)

Parameters

Handle source

Handle to the object logging the action, or INVALID_HANDLE if Core is logging the action.

Identity ident

Type of object logging the action (plugin, ext, or core).

int client

Client the action is from; 0 for server, -1 if not applicable.

int target

Client the action is targetting, or -1 if not applicable.

const char[] message

Message that is being logged.

Return Value

Plugin_Continue will perform the default logging behavior. Plugin_Handled will stop Core from logging the message. Plugin_Stop is the same as Handled, but prevents any other plugins from handling the message.