LogToFile Function

Logs a message to any file. The log message will be in the normal SourceMod format, with the plugin logtag prepended.

void LogToFile(const char[] file, const char[] format, any... ...)


const char[] file

File to write the log message in.

const char[] format

String format.

any... ...

Format arguments.


File could not be opened/written.