diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-02-07 07:58:16 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-02-07 08:18:28 +0100 |
commit | 400df39cb1c7565b5fc8f3dbfef0c054b4bb65f4 (patch) | |
tree | d9a6745f774c5cf05e8417be3f19e890158c0040 /src/Log.h | |
parent | ec94a07844bbfe16138d30a788ec04bd6e588328 (diff) | |
download | dabmux-400df39cb1c7565b5fc8f3dbfef0c054b4bb65f4.tar.gz dabmux-400df39cb1c7565b5fc8f3dbfef0c054b4bb65f4.tar.bz2 dabmux-400df39cb1c7565b5fc8f3dbfef0c054b4bb65f4.zip |
rename CRC-DabMux to ODR-DabMux
Diffstat (limited to 'src/Log.h')
-rw-r--r-- | src/Log.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -6,20 +6,20 @@ Copyright (C), 2014, Matthias P. Braendli, matthias.braendli@mpb.li */ /* - This file is part of CRC-DADMOD. + This file is part of ODR-DabMux. - CRC-DADMOD is free software: you can redistribute it and/or modify + ODR-DabMux 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 (at your option) any later version. - CRC-DADMOD is distributed in the hope that it will be useful, + ODR-DabMux 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 CRC-DADMOD. If not, see <http://www.gnu.org/licenses/>. + along with ODR-DabMux. If not, see <http://www.gnu.org/licenses/>. */ #ifndef _LOG_H @@ -40,7 +40,7 @@ #include <string> #include <map> -#define SYSLOG_IDENT "CRC-DABMUX" +#define SYSLOG_IDENT "ODR-DabMux" #define SYSLOG_FACILITY LOG_LOCAL0 enum log_level_t {debug = 0, info, warn, error, alert, emerg}; @@ -112,7 +112,7 @@ class LogToFile : public LogBackend { {"DEBUG", "INFO", "WARN", "ERROR", "ALERT", "EMERG"}; // fprintf is thread-safe - fprintf(log_file, "CRC-DABMUX: %s: %s\n", + fprintf(log_file, "ODR-DabMux: %s: %s\n", log_level_text[(size_t)level], message.c_str()); fflush(log_file); } |