/***************************************************************************
log.h - description
-------------------
begin : Wed Feb 4 2004
copyright : (C) 2004 by Andy Clews
email : andy clews blueyonder co uk
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
/***************************************************************************
* *
* Global Variables *
* *
***************************************************************************/
enum logging {
LOG_QUIET = 0,
LOG_ERROR,
LOG_NORMAL,
LOG_VERBOSE,
LOG_DEBUG,
LOG_NOISY_DEBUG};
FILE *log_file;
int log_open(char * filename, int level);
void log_close(void);
void log_printf(int level, char * text, ...);