Type Definitions1
SymbolDescription
GameLogHookCalled when a game log message is received. Any Log*() functions called within this callback will not recursively pass through. That is, they will log directly, bypassing this callback. Note that this does not capture log messages from the engine. It only captures log messages being sent from the game/mod itself.
Forwards1
SymbolDescription
OnLogActionCalled when an action is going to be logged.
Functions7
SymbolDescription
AddGameLogHookAdds a game log hook.
LogActionLogs an action from a command or event whereby interception and routing may be important. This is intended to be a logging version of ShowActivity().
LogErrorLogs a plugin error message to the SourceMod logs.
LogMessageLogs a plugin message to the SourceMod logs. The log message will be prefixed by the plugin's logtag (filename).
LogToFileLogs a message to any file. The log message will be in the normal SourceMod format, with the plugin logtag prepended.
LogToFileExSame as LogToFile(), except no plugin logtag is prepended.
RemoveGameLogHookRemoves a game log hook.