GIRAFFE Pipeline Reference Manual

gimessages.c

00001 /* $Id: gimessages.c,v 1.3 2006/03/10 15:56:10 rpalsa Exp $
00002  *
00003  * This file is part of the GIRAFFE Pipeline
00004  * Copyright (C) 2002-2006 European Southern Observatory
00005  *
00006  * This program is free software; you can redistribute it and/or modify
00007  * it under the terms of the GNU General Public License as published by
00008  * the Free Software Foundation; either version 2 of the License, or
00009  * (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00019  */
00020 
00021 /*
00022  * $Author: rpalsa $
00023  * $Date: 2006/03/10 15:56:10 $
00024  * $Revision: 1.3 $
00025  * $Name: giraffe-2_8_8 $
00026  */
00027 
00028 #ifdef HAVE_CONFIG_H
00029 #  include <config.h>
00030 #endif
00031 
00032 #include <cxmessages.h>
00033 
00034 #include "gimessages.h"
00035 
00036 
00067 void gi_error(const cxchar *format, ...)
00068 {
00069 
00070     va_list args;
00071 
00072     va_start(args, format);
00073     cx_logv(CX_LOG_DOMAIN, CX_LOG_LEVEL_ERROR, format, args);
00074     va_end(args);
00075 
00076     return;
00077 }
00078 
00099 void gi_critical(const cxchar *format, ...)
00100 {
00101     va_list args;
00102 
00103     va_start(args, format);
00104     cx_logv(CX_LOG_DOMAIN, CX_LOG_LEVEL_CRITICAL, format, args);
00105     va_end(args);
00106 
00107     return;
00108 }
00109 
00110 
00127 void gi_warning(const cxchar *format, ...)
00128 {
00129     va_list args;
00130 
00131     va_start(args, format);
00132     cx_logv(CX_LOG_DOMAIN, CX_LOG_LEVEL_WARNING, format, args);
00133     va_end(args);
00134 
00135     return;
00136 }
00137 
00138 
00154 void gi_message(const cxchar *format, ...)
00155 {
00156     va_list args;
00157 
00158     va_start(args, format);
00159     cx_logv(CX_LOG_DOMAIN, CX_LOG_LEVEL_MESSAGE, format, args);
00160     va_end(args);
00161 
00162     return;
00163 }

This file is part of the GIRAFFE Pipeline Reference Manual 2.8.8.
Documentation copyright © 2002-2006 European Southern Observatory.
Generated on Fri Mar 4 10:50:27 2011 by doxygen 1.6.3 written by Dimitri van Heesch, © 1997-2004