1N/A/*************************************************************************** 1N/A * Copyright (C) 2003 David Zeuthen, <david@fubar.dk> 1N/A * Copyright (C) 2006 Danny Kukawka, <danny.kukawka@web.de> 1N/A * Licensed under the Academic Free License version 2.1 1N/A * This program is free software; you can redistribute it and/or modify 1N/A * it under the terms of the GNU General Public License as published by 1N/A * the Free Software Foundation; either version 2 of the License, or 1N/A * (at your option) any later version. 1N/A * This program is distributed in the hope that it will be useful, 1N/A * but WITHOUT ANY WARRANTY; without even the implied warranty of 1N/A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1N/A * GNU General Public License for more details. 1N/A * You should have received a copy of the GNU General Public License 1N/A * along with this program; if not, write to the Free Software 1N/A * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 1N/A **************************************************************************/ 1N/A * @defgroup HalDaemonLogging Logging system 1N/A * @ingroup HalDaemon 1N/A * @brief Logging system for the HAL daemon 1N/A/** Disable all logging 1N/A/** Enable all logging 1N/A/** enable usage of syslog for logging 1N/A/** disable usage of syslog for logging 1N/A/** Setup logging entry 1N/A * @param priority Logging priority, one of HAL_LOGPRI_* 1N/A * @param file Name of file where the log entry originated 1N/A * @param line Line number of file 1N/A * @param function Name of function 1N/A/** Emit logging entry 1N/A * @param format Message format string, printf style 1N/A * @param ... Parameters for message, printf style 1N/A default:
/* explicit fallthrough */ 1N/A /** @todo Make programmatic interface to logging */ 1N/A /* use syslog for debug/log messages if HAL started as daemon */ 1N/A default:
/* explicit fallthrough */