
/******************************************************************************
**
**  This program is free software; you can redistribute it and/or
**  modify it, however, you cannot sell it.
**
**  This program is distributed in the hope that it will be useful,
**  but WITHOUT ANY WARRANTY; without even the implied warranty of
**  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
**
**  You should have received a copy of the license attached to the
**  use of this software.  If not, visit www.shmoo.com/osiris for
**  details.
**
******************************************************************************/

/*****************************************************************************
**
**  File:    logging.h
**  Date:    February 17, 2002
**  
**  Author:  Brian Wotring
**  Purpose: logging routines.
**
******************************************************************************/

#ifndef LOGGING_H_
#define LOGGING_H_

/* logging levels for this daemon, low is the most critical */
/* and high includes the least critical types of events.    */

#define LOG_NONE		0
#define LOG_LOW			1
#define LOG_MEDIUM		2
#define LOG_HIGH		3

#define LOG_LEVEL_DEFAULT	LOG_LOW

void log_error( int level, const char *host, const char *message, ... );
void log_info( int level, const char *host, const char *message, ... );
void log_warning( int level, const char *host, const char *message, ... );

#endif
