Back to index

im-sdk  12.3.91
kolelog.h
Go to the documentation of this file.
00001 /*
00002  * Copyright 2003 Sun Microsystems Inc.
00003  *
00004  * This is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Lesser General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2 of the License, or (at your option) any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Lesser General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Lesser General Public
00015  * License along with this library; if not, write to the
00016  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00017  * Boston, MA 02111-1307, USA.
00018  *
00019  * Authors: Karl Park <karl.park@sun.com>
00020  */
00021 
00022 #ifndef _KOLE_LOG_H
00023 #define _KOLE_LOG_H
00024 
00025 #define LOGFILE "/tmp/kole.log"
00026 
00027 typedef enum {
00028   LOGDEST_STDOUT,
00029   LOGDEST_STDERR,
00030   LOGDEST_FILE,
00031 } LOGDEST;
00032 
00033 void KOLE_LOG (LOGDEST dest, char *fmt, ...);
00034 #endif /* _KOLE_LOG_H */