118c2affartem/***************************************************************************
218c2affartem * CVSID: $Id$
318c2affartem *
418c2affartem * logger.c : Logging
518c2affartem *
618c2affartem * Copyright (C) 2003 David Zeuthen, <david@fubar.dk>
718c2affartem * Copyright (C) 2006 Danny Kukawka, <danny.kukawka@web.de>
818c2affartem *
918c2affartem * Licensed under the Academic Free License version 2.1
1018c2affartem *
1118c2affartem * This program is free software; you can redistribute it and/or modify
1218c2affartem * it under the terms of the GNU General Public License as published by
1318c2affartem * the Free Software Foundation; either version 2 of the License, or
1418c2affartem * (at your option) any later version.
1518c2affartem *
1618c2affartem * This program is distributed in the hope that it will be useful,
1718c2affartem * but WITHOUT ANY WARRANTY; without even the implied warranty of
1818c2affartem * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1918c2affartem * GNU General Public License for more details.
2018c2affartem *
2118c2affartem * You should have received a copy of the GNU General Public License
2218c2affartem * along with this program; if not, write to the Free Software
2318c2affartem * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
2418c2affartem *
2518c2affartem **************************************************************************/
2618c2affartem
2718c2affartem#ifdef HAVE_CONFIG_H
2818c2affartem#  include <config.h>
2918c2affartem#endif
3018c2affartem
3118c2affartem#include <stdio.h>
3218c2affartem#include <stdlib.h>
3318c2affartem#include <string.h>
3418c2affartem#include <stdarg.h>
3518c2affartem#include <time.h>
3618c2affartem#include <sys/time.h>
3718c2affartem#include <syslog.h>
3818c2affartem#include <unistd.h>
3918c2affartem
4018c2affartem#include "logger.h"
4118c2affartem
4218c2affartem/**
4318c2affartem * @defgroup HalDaemonLogging Logging system
4418c2affartem * @ingroup HalDaemon
4518c2affartem * @brief Logging system for the HAL daemon
4618c2affartem * @{
4718c2affartem */
48