The C Utility Toolkit
Main Page | Data Structures | File List | Data Fields | Globals

log.h File Reference

Go to the source code of this file.

Defines

#define LOG_MARK   flogf("%s (%s:%u)",__FUNCTION__,__FILE__,__LINE__)

Functions

void flogf_disable (void)
void flogf_enable (void)
void flogf_disableTime (void)
void flogf_enableTime (void)
void flogf_filename (const char *filename)
void flogf (const char *msg0,...)


Define Documentation

#define LOG_MARK   flogf("%s (%s:%u)",__FUNCTION__,__FILE__,__LINE__)
 


Function Documentation

void flogf const char *  msg,
  ...
 

Logs stuff. Syntax is the same as printf()

Parameters:
msg Message to log
... Variable parameters (like printf)

void flogf_disable void   ) 
 

Disables logging

void flogf_disableTime void   ) 
 

Disables time stamp

void flogf_enable void   ) 
 

Enables logging

void flogf_enableTime void   ) 
 

Enables time stamp

void flogf_filename const char *  filename  ) 
 

Sets log filename

Parameters:
filename Filename


Generated on Wed Jan 12 13:13:42 2005 for CUTK by doxygen 1.3.7