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

log.c File Reference

#include <cutk/log.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <limits.h>

Functions

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

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