X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=src%2Flog.h;h=16f45ea09071b7746586e26e787aabce321d3abc;hb=7eba49d24d56288d83746f3f0ce383d7c0c36552;hp=9abb49f7bb06ee4582d0489ea12a7041e5ffcbda;hpb=f3ca90e517a9ae54e831e5a5b91fcc2afb9df5bf;p=tlsproxy%2Ftlsproxy.git diff --git a/src/log.h b/src/log.h index 9abb49f..16f45ea 100644 --- a/src/log.h +++ b/src/log.h @@ -1,7 +1,7 @@ /* * Log related functions/defines. * - * Copyright (C) 2011-2013 Simon Ruderich + * Copyright (C) 2011-2014 Simon Ruderich * * 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 @@ -24,11 +24,13 @@ #define ERROR LOG_ERROR_LEVEL, __FILE__, __LINE__ #define WARNING LOG_WARNING_LEVEL, __FILE__, __LINE__ #define DEBUG1 LOG_DEBUG1_LEVEL, __FILE__, __LINE__ +#define DEBUG2 LOG_DEBUG2_LEVEL, __FILE__, __LINE__ /* Log level constants. */ #define LOG_ERROR_LEVEL 0 #define LOG_WARNING_LEVEL 1 #define LOG_DEBUG1_LEVEL 2 +#define LOG_DEBUG2_LEVEL 3 /* Call log_message() and print current file and line number. */ #define LOG \