From c6717bd5ff2d4f0c3778b79933a4fc4a55801f6c Mon Sep 17 00:00:00 2001 From: Chunting Gu Date: Wed, 21 Nov 2018 11:12:31 +0800 Subject: [PATCH] Add an example config.h file. --- webcc/config.h.example | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 webcc/config.h.example diff --git a/webcc/config.h.example b/webcc/config.h.example new file mode 100644 index 0000000..fbb384d --- /dev/null +++ b/webcc/config.h.example @@ -0,0 +1,14 @@ +#ifndef WEBCC_CONFIG_H_ +#define WEBCC_CONFIG_H_ + +// Compile configurations. + +// Set 0 to disable logging. +#define WEBCC_ENABLE_LOG 1 + +#if WEBCC_ENABLE_LOG +// 0:VERB, 1:INFO, 2:WARN, 3:ERRO or 4:FATA +#define WEBCC_LOG_LEVEL 2 +#endif + +#endif // WEBCC_CONFIG_H_