Subversion Repositories tpanel

Rev

Rev 401 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 401 Rev 406
Line 17... Line 17...
17
 */
17
 */
18
#ifndef __TERROR_H__
18
#ifndef __TERROR_H__
19
#define __TERROR_H__
19
#define __TERROR_H__
20
 
20
 
21
#include <iostream>
21
#include <iostream>
22
#include <iomanip>
22
//#include <iomanip>
23
#include <iostream>
23
#include <iostream>
24
#include <sstream>
24
//#include <sstream>
25
#include <string>
25
#include <string>
26
#include <chrono>
26
#include <chrono>
27
#include <mutex>
27
//#include <mutex>
28
#include <thread>
28
#include <thread>
29
 
29
 
30
#define LPATH_FILE          1   //!< Creates a log file and protocolls there
30
#define LPATH_FILE          1   //!< Creates a log file and protocolls there
31
#define LPATH_SYSLOG        2   //!< Writes to the syslog.
31
#define LPATH_SYSLOG        2   //!< Writes to the syslog.
32
#ifdef __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__
32
#ifdef __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__
Line 50... Line 50...
50
#define SLOG_TRACE          "TRACE"
50
#define SLOG_TRACE          "TRACE"
51
#define SLOG_DEBUG          "DEBUG"
51
#define SLOG_DEBUG          "DEBUG"
52
#define SLOG_PROTOCOL       "PROTOCOL"
52
#define SLOG_PROTOCOL       "PROTOCOL"
53
#define SLOG_ALL            "ALL"
53
#define SLOG_ALL            "ALL"
54
 
54
 
-
 
55
#define T_UNUSED(x) (void)x;
-
 
56
 
55
typedef enum terrtype_t
57
typedef enum terrtype_t
56
{
58
{
57
    TERRNONE,
59
    TERRNONE,
58
    TERRINFO,
60
    TERRINFO,
59
    TERRWARNING,
61
    TERRWARNING,