1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Add output levels --info and --trace (--verbose is now more verbose)

This commit is contained in:
Perttu Ahola 2012-03-22 14:10:24 +02:00
parent 2671b9af1b
commit c13691a8e6
5 changed files with 34 additions and 9 deletions

View file

@ -52,9 +52,8 @@ typedef int socket_t;
#include <errno.h>
#include "utility.h"
// Debug printing options
// Set to 1 for debug output
#define DP 0
bool socket_enable_debug_output = false;
#define DP socket_enable_debug_output
// This is prepended to everything printed here
#define DPS ""