From fc63bf083bab95aa4fa284a9c44a780ec7eca1a8 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sat, 20 Oct 2018 14:23:40 +0200 Subject: [PATCH] remove old logging code --- include/villas/log_config.h | 49 ------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 include/villas/log_config.h diff --git a/include/villas/log_config.h b/include/villas/log_config.h deleted file mode 100644 index 808942f12..000000000 --- a/include/villas/log_config.h +++ /dev/null @@ -1,49 +0,0 @@ -/** Logging routines that depend on jansson. - * - * @file - * @author Steffen Vogel - * @copyright 2017-2018, Institute for Automation of Complex Power Systems, EONERC - * @license GNU General Public License (version 3) - * - * VILLASnode - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - *********************************************************************************/ - -#pragma once - -struct log; - -#include - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/** Wrapper for log_parse, to check if config file exists **/ -int log_parse_wrapper(struct log *l, json_t *cfg); - -/** Parse logging configuration. */ -int log_parse(struct log *l, json_t *cfg); - -/** Print configuration error and exit. */ -void jerror(json_error_t *err, const char *fmt, ...) - __attribute__ ((format(printf, 2, 3))); - - -#ifdef __cplusplus -} -#endif