plugins/include/files.inc
changeset 1378 115ba755bcdf
parent 1370 05e9ca38e083
child 1729 0f60cc4ce8bb
     1.1 --- a/plugins/include/files.inc	Sun Aug 26 20:12:30 2007 +0000
     1.2 +++ b/plugins/include/files.inc	Mon Aug 27 02:00:37 2007 +0000
     1.3 @@ -232,3 +232,28 @@
     1.4   * @return				Time value, or -1 on failure.
     1.5   */
     1.6  native GetFileTime(const String:file[], FileTimeMode:tmode);
     1.7 +
     1.8 +/**
     1.9 + * Same as LogToFile(), except uses an open file Handle.  The file must 
    1.10 + * be opened in text appending mode.
    1.11 + *
    1.12 + * @param hndl			Handle to the file.
    1.13 + * @param message		Message format.
    1.14 + * @param ...			Message format parameters.
    1.15 + * @noreturn
    1.16 + * @error				Invalid Handle.
    1.17 + */
    1.18 +native LogToOpenFile(Handle:hndl, const String:message[], any:...);
    1.19 +
    1.20 +/**
    1.21 + * Same as LogToFileEx(), except uses an open file Handle.  The file must 
    1.22 + * be opened in text appending mode.
    1.23 + *
    1.24 + * @param hndl			Handle to the file.
    1.25 + * @param message		Message format.
    1.26 + * @param ...			Message format parameters.
    1.27 + * @noreturn
    1.28 + * @error				Invalid Handle.
    1.29 + */
    1.30 +native LogToOpenFileEx(Handle:hndl, const String:message[], any:...);
    1.31 +