summaryrefslogtreecommitdiff
path: root/src/logger.h
blob: 1dce2551f28c9a5f0c798ccf5b06f51fc6af26a8 (plain)
    1 // GPGEdit edits GPG encrypted files
    2 // Copyright (C) 2018  Aaron Ball <nullspoon@oper.io>
    3 //
    4 // This program is free software: you can redistribute it and/or modify
    5 // it under the terms of the GNU General Public License as published by
    6 // the Free Software Foundation, either version 3 of the License, or
    7 // (at your option) any later version.
    8 //
    9 // This program is distributed in the hope that it will be useful,
   10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
   11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   12 // GNU General Public License for more details.
   13 //
   14 // You should have received a copy of the GNU General Public License
   15 // along with this program.  If not, see <https://www.gnu.org/licenses/>.
   16 
   17 #include <stdio.h>
   18 #include <stdarg.h>
   19 
   20 #ifndef GPGEDIT_LOGGER_H
   21 #define GPGEDIT_LOGGER_H
   22 
   23 #define LOG_DEBUG 50
   24 #define LOG_INFO  40
   25 #define LOG_WARN  30
   26 #define LOG_ERROR 20
   27 #define LOG_FATAL 10
   28 
   29 void logger_init(int);
   30 void logger(int, char*, ...);
   31 
   32 #endif

Generated by cgit