librfn
An ad-hoc utility library
Functions
mlog.h File Reference
#include <stdio.h>
#include <stdarg.h>

Go to the source code of this file.

Functions

void vmlog (const char *fmt, va_list ap)
 Log a message using a variable argument list. More...
 
void mlog (const char *fmt,...)
 Log a message. More...
 
void vmlog_nice (const char *fmt, va_list ap)
 Log a message using a variable argument list, if there is space to do so. More...
 
void mlog_nice (const char *fmt,...)
 Log a message, if there is space to do so. More...
 
void mlog_clear (void)
 Clear all data from the log. More...
 
void mlog_dump (FILE *f)
 Format the log and write it to the supplied file pointer. More...
 
char * mlog_get_line (int n)
 Format the Nth line of the log. More...