Livox SDK API
V2.2.0
Main Page
Namespaces
Classes
Files
File List
File Members
tweakme.h
Go to the documentation of this file.
1
//
2
// Copyright(c) 2015 Gabi Melman.
3
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
4
//
5
6
#pragma once
7
9
//
10
// Edit this file to squeeze more performance, and to customize supported
11
// features
12
//
14
16
// Under Linux, the much faster CLOCK_REALTIME_COARSE clock can be used.
17
// This clock is less accurate - can be off by dozens of millis - depending on
18
// the kernel HZ.
19
// Uncomment to use it instead of the regular clock.
20
//
21
// #define SPDLOG_CLOCK_COARSE
23
25
// Uncomment if date/time logging is not needed and never appear in the log
26
// pattern.
27
// This will prevent spdlog from querying the clock on each log call.
28
//
29
// WARNING: If the log pattern contains any date/time while this flag is on, the
30
// result is undefined.
31
// You must set new pattern(spdlog::set_pattern(..") without any
32
// date/time in it
33
//
34
// #define SPDLOG_NO_DATETIME
36
38
// Uncomment if thread id logging is not needed (i.e. no %t in the log pattern).
39
// This will prevent spdlog from querying the thread id on each log call.
40
//
41
// WARNING: If the log pattern contains thread id (i.e, %t) while this flag is
42
// on, the result is undefined.
43
//
44
// #define SPDLOG_NO_THREAD_ID
46
48
// Uncomment to prevent spdlog from using thread local storage.
49
//
50
// WARNING: if your program forks, UNCOMMENT this flag to prevent undefined
51
// thread ids in the children logs.
52
//
53
// #define SPDLOG_NO_TLS
55
57
// Uncomment if logger name logging is not needed.
58
// This will prevent spdlog from copying the logger name on each log call.
59
//
60
// #define SPDLOG_NO_NAME
62
64
// Uncomment to enable the SPDLOG_DEBUG/SPDLOG_TRACE macros.
65
//
66
// #define SPDLOG_DEBUG_ON
67
// #define SPDLOG_TRACE_ON
69
71
// Uncomment to avoid spdlog's usage of atomic log levels
72
// Use only if your code never modifies a logger's log levels concurrently by
73
// different threads.
74
//
75
// #define SPDLOG_NO_ATOMIC_LEVELS
77
79
// Uncomment to enable usage of wchar_t for file names on Windows.
80
//
81
// #define SPDLOG_WCHAR_FILENAMES
83
85
// Uncomment to override default eol ("\n" or "\r\n" under Linux/Windows)
86
//
87
// #define SPDLOG_EOL ";-)\n"
89
91
// Uncomment to use your own copy of the fmt library instead of spdlog's copy.
92
// In this case spdlog will try to include <fmt/format.h> so set your -I flag
93
// accordingly.
94
//
95
// #define SPDLOG_FMT_EXTERNAL
97
99
// Uncomment to enable wchar_t support (convert to utf8)
100
//
101
// #define SPDLOG_WCHAR_TO_UTF8_SUPPORT
103
105
// Uncomment to prevent child processes from inheriting log file descriptors
106
//
107
// #define SPDLOG_PREVENT_CHILD_FD
109
111
// Uncomment to enable message counting feature.
112
// Use the %i in the logger pattern to display log message sequence id.
113
//
114
// #define SPDLOG_ENABLE_MESSAGE_COUNTER
116
118
// Uncomment to customize level names (e.g. "MT TRACE")
119
//
120
// #define SPDLOG_LEVEL_NAMES { "MY TRACE", "MY DEBUG", "MY INFO", "MY WARNING",
121
// "MY ERROR", "MY CRITICAL", "OFF" }
123
125
// Uncomment to customize short level names (e.g. "MT")
126
// These can be longer than one character.
127
//
128
// #define SPDLOG_SHORT_LEVEL_NAMES { "T", "D", "I", "W", "E", "C", "O" }
130
132
// Uncomment to disable default logger creation.
133
// This might save some (very) small initialization time if no default logger is needed.
134
//
135
// #define SPDLOG_DISABLE_DEFAULT_LOGGER
137
139
// Uncomment and set to compile time level with zero cost (default is INFO).
140
// Macros like SPDLOG_DEBUG(..), SPDLOG_INFO(..) will expand to empty statements if not enabled
141
//
142
// #define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_INFO
144
146
// Uncomment (and change if desired) macro to use for function names.
147
// This is compiler dependent.
148
// __PRETTY_FUNCTION__ might be nicer in clang/gcc, and __FUNCTION__ in msvc.
149
// Defaults to __FUNCTION__ (should work on all compilers) if not defined.
150
//
151
// #define SPDLOG_FUNCTION __PRETTY_FUNCTION__
sdk_core
include
third_party
spdlog
spdlog
tweakme.h
Generated by
1.8.11