gsymcheck

s_log.c

Go to the documentation of this file.
00001 /* gEDA - GPL Electronic Design Automation
00002  * gsymcheck - gEDA Symbol Check
00003  * Copyright (C) 1998-2010 Ales Hvezda
00004  * Copyright (C) 1998-2010 gEDA Contributors (see ChangeLog for details)
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 Street, Fifth Floor, Boston,
00019  * MA 02111-1301 USA.
00020  */
00021 
00022 #include <config.h>
00023 
00024 #include <stdio.h>
00025 
00026 #include <libgeda/libgeda.h>
00027 
00028 void s_log_update (const gchar *log_domain, GLogLevelFlags log_level,
00029                    const gchar *buf)
00030 {
00031   if (buf == NULL)
00032     return;
00033 
00034   switch (logging_dest) {
00035     case STDOUT_TTY:
00036       fputs (buf, stdout);
00037       break;
00038 
00039     default:
00040       break;
00041   }
00042 }
 All Data Structures Files Functions Variables Typedefs Defines