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 features
11 //
13 
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 the kernel HZ.
18 // Uncomment to use it instead of the regular clock.
19 //
20 // #define SPDLOG_CLOCK_COARSE
22 
23 
25 // Uncomment if date/time logging is not needed and never appear in the log pattern.
26 // This will prevent spdlog from quering the clock on each log call.
27 //
28 // WARNING: If the log pattern contains any date/time while this flag is on, the result is undefined.
29 // You must set new pattern(spdlog::set_pattern(..") without any date/time in it
30 //
31 // #define SPDLOG_NO_DATETIME
33 
34 
36 // Uncomment if thread id logging is not needed (i.e. no %t in the log pattern).
37 // This will prevent spdlog from quering the thread id on each log call.
38 //
39 // WARNING: If the log pattern contains thread id (i.e, %t) while this flag is on, the result is undefined.
40 //
41 // #define SPDLOG_NO_THREAD_ID
43 
44 
46 // Uncomment if logger name logging is not needed.
47 // This will prevent spdlog from copying the logger name on each log call.
48 //
49 // #define SPDLOG_NO_NAME
51 
53 // Uncomment to enable the SPDLOG_DEBUG/SPDLOG_TRACE macros.
54 //
55 // #define SPDLOG_DEBUG_ON
56 // #define SPDLOG_TRACE_ON
58 
59 
61 // Uncomment to avoid locking in the registry operations (spdlog::get(), spdlog::drop() spdlog::register()).
62 // Use only if your code never modifes concurrently the registry.
63 // Note that upon creating a logger the registry is modified by spdlog..
64 //
65 // #define SPDLOG_NO_REGISTRY_MUTEX
67 
68 
70 // Uncomment to avoid spdlog's usage of atomic log levels
71 // Use only if your code never modifies a logger's log levels concurrently by different threads.
72 //
73 // #define SPDLOG_NO_ATOMIC_LEVELS
75 
76 
78 // Uncomment to enable usage of wchar_t for file names on Windows.
79 //
80 // #define SPDLOG_WCHAR_FILENAMES
82 
83 
85 // Uncomment to override default eol ("\n" or "\r\n" under Linux/Windows)
86 //
87 // #define SPDLOG_EOL ";-)\n"
89 
90 
92 // Uncomment to use your own copy of the fmt library instead of spdlog's copy.
93 // In this case spdlog will try to include <fmt/format.h> so set your -I flag accordingly.
94 //
95 // #define SPDLOG_FMT_EXTERNAL
97 
98 
100 // Uncomment to enable syslog (disabled by default)
101 //
102 // #define SPDLOG_ENABLE_SYSLOG
104 
105 
107 // Uncomment to enable wchar_t support (convert to utf8)
108 //
109 // #define SPDLOG_WCHAR_TO_UTF8_SUPPORT
111 
112 
114 // Uncomment to prevent child processes from inheriting log file descriptors
115 //
116 // #define SPDLOG_PREVENT_CHILD_FD
118 
119 
121 // Uncomment to mark some types as final, allowing more optimizations in release
122 // mode with recent compilers. See GCC's documentation for -Wsuggest-final-types
123 // for instance.
124 //
125 // #define SPDLOG_FINAL final
127 
128 
130 // Uncomment to enable message counting feature. Adds %i logger pattern that
131 // prints log message sequence id.
132 //
133 // #define SPDLOG_ENABLE_MESSAGE_COUNTER
135 
137 // Uncomment to enable user defined tag names
138 //
139 // #define SPDLOG_LEVEL_NAMES { " TRACE", " DEBUG", " INFO",
140 // " WARNING", " ERROR", "CRITICAL", "OFF" };
141 ///////////////////////////////////////////////////////////////////////////////


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Tue Jan 19 2021 03:12:08