Updated all manpage versions in prep for a new release (v1.5.4)
[geda-gaf/whiteaudio.git] / gsymcheck / src / s_log.c
blobf6eaffecf1ac815ce7d7b46cc025d5710486e0d2
1 /* gEDA - GPL Electronic Design Automation
2 * gsymcheck - gEDA Symbol Check
3 * Copyright (C) 1998-2008 Ales Hvezda
4 * Copyright (C) 1998-2008 gEDA Contributors (see ChangeLog for details)
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 #include <config.h>
23 #include <stdio.h>
25 #include <libgeda/libgeda.h>
27 void s_log_update (const gchar *log_domain, GLogLevelFlags log_level,
28 const gchar *buf)
30 if (buf == NULL)
31 return;
33 switch (logging_dest) {
34 case STDOUT_TTY:
35 fputs (buf, stdout);
36 break;
38 default:
39 break;