Main Page | Data Structures | File List | Globals

err_msg.h File Reference

Go to the source code of this file.

Enumerations

enum  { VERB_QUIET, VERB_ERR, VERB_WARN, VERB_INFO }

Functions

void set_verbosity (int value)
void set_log_verbosity (int value)
void set_log_filename (const char *fname)
void error (const char *str,...)
void warning (const char *str,...)
void info (const char *str,...)


Detailed Description


Function Documentation

void error const char *  str,
  ...
 

printf-like usage

void info const char *  str,
  ...
 

printf-like usage

void set_log_filename const char *  fname  ) 
 

sets the filename of the log file

default setting: "logfile"

void set_log_verbosity int  value  ) 
 

sets the log verbosity to the given value.

values:

  • VERB_QUIET = do not log anything
  • VERB_ERR = log only errors
  • VERB_WARN = log errors and warnings
  • VERB_INFO = log errors, warnings and informative messages

default setting: VERB_INFO

void set_verbosity int  value  ) 
 

sets the output verbosity to the given value.

values:

  • VERB_QUIET = do not output anything
  • VERB_ERR = output only errors
  • VERB_WARN = output errors and warnings
  • VERB_INFO = output errors, warnings and informative messages

default setting: VERB_INFO

void warning const char *  str,
  ...
 

printf-like usage


Generated on Thu Sep 9 00:52:33 2004 for MUD by doxygen 1.3.8