/************************************************************************/
/* Copyright 2010 MBARI							*/
/************************************************************************/
/* Summary  : System logging functions for Respirometer Controller (O4)	*/
/* Filename : syslog.h							*/
/* Author   : Robert Herlien (rah)					*/
/* Project  : Respirometers						*/
/* Revision : 1.0							*/
/* Created  : 10/01/2010 from OASIS log.h				*/
/*									    */
/* MBARI provides this documentation and code "as is", with no warranty,    */
/* express or implied, of its quality or consistency. It is provided without*/
/* support and without obligation on the part of the Monterey Bay Aquarium  */
/* Research Institute to assist in its use, correction, modification, or    */
/* enhancement. This information should not be published or distributed to  */
/* third parties without specific written permission from MBARI.            */
/*									    */
/************************************************************************/
/* Modification History:						*/
/* 01oct2010 rah - created from OASIS log.h
*/
/************************************************************************/

#ifndef INCsyslogh
#define INCsyslogh		1

#include <stdio.h>
#include <stdarg.h>

#define sysLog(s)	sysLogPrintf(s)

typedef enum {LOG_BEDS=0, LOG_MPU, LOG_ZMODEM} SysLogType;


/****************************************/
/* Function Declarations		*/
/****************************************/

Errno	sysLogInit(Void);
Int32	vSysLogPrintf(SysLogType ltype, const char *fmt, va_list vlist);
Int32	sysLogPrintf(const char *fmt, ...);

#endif	/* INCsyslogh */
