void MLogInit (int level, int nr, int nvr, int nc, int nvc, const char *fname)

Sets the log level, log window geometry and log filename

Documentation

Sets the log level, log window geometry and log filename. All log requests, made later by the program and having a level lower than the one provided as the first parameter, are ignored.

Parameters:
level - Starting log level.
nr - Desired number of rows you want to be saved in the log window.
nvr - Desired number of visible rows (this value should be lower or equal to nr).
nc - Desired number of columns you want to use in the log window.
nvc - Desired number of visible columns (this value should be lower than or equal to nc).
fname - Specifies the name of the file which you want to write log messages to. If you don't want to log to file, simply pass a NULL pointer.
See Also:
MLog, MLogSetLevel, MLogSetMask

alphabetic index hierarchy of classes


MGUI Copyright 1996-2000 Vincenzo Morello

generated by doc++