/Users/eugenesiegel/btc/bitcoin/src/logging.h
Line | Count | Source (jump to first uncovered line) |
1 | | // Copyright (c) 2009-2010 Satoshi Nakamoto |
2 | | // Copyright (c) 2009-present The Bitcoin Core developers |
3 | | // Distributed under the MIT software license, see the accompanying |
4 | | // file COPYING or http://www.opensource.org/licenses/mit-license.php. |
5 | | |
6 | | #ifndef BITCOIN_LOGGING_H |
7 | | #define BITCOIN_LOGGING_H |
8 | | |
9 | | #include <threadsafety.h> |
10 | | #include <tinyformat.h> |
11 | | #include <util/fs.h> |
12 | | #include <util/string.h> |
13 | | #include <util/time.h> |
14 | | |
15 | | #include <atomic> |
16 | | #include <cstdint> |
17 | | #include <functional> |
18 | | #include <list> |
19 | | #include <mutex> |
20 | | #include <string> |
21 | | #include <unordered_map> |
22 | | #include <vector> |
23 | | |
24 | | static const bool DEFAULT_LOGTIMEMICROS = false; |
25 | | static const bool DEFAULT_LOGIPS = false; |
26 | | static const bool DEFAULT_LOGTIMESTAMPS = true; |
27 | | static const bool DEFAULT_LOGTHREADNAMES = false; |
28 | | static const bool DEFAULT_LOGSOURCELOCATIONS = false; |
29 | | static constexpr bool DEFAULT_LOGLEVELALWAYS = false; |
30 | | extern const char * const DEFAULT_DEBUGLOGFILE; |
31 | | |
32 | | extern bool fLogIPs; |
33 | | |
34 | | struct LogCategory { |
35 | | std::string category; |
36 | | bool active; |
37 | | }; |
38 | | |
39 | | namespace BCLog { |
40 | | using CategoryMask = uint64_t; |
41 | | enum LogFlags : CategoryMask { |
42 | | NONE = CategoryMask{0}, |
43 | | NET = (CategoryMask{1} << 0), |
44 | | TOR = (CategoryMask{1} << 1), |
45 | | MEMPOOL = (CategoryMask{1} << 2), |
46 | | HTTP = (CategoryMask{1} << 3), |
47 | | BENCH = (CategoryMask{1} << 4), |
48 | | ZMQ = (CategoryMask{1} << 5), |
49 | | WALLETDB = (CategoryMask{1} << 6), |
50 | | RPC = (CategoryMask{1} << 7), |
51 | | ESTIMATEFEE = (CategoryMask{1} << 8), |
52 | | ADDRMAN = (CategoryMask{1} << 9), |
53 | | SELECTCOINS = (CategoryMask{1} << 10), |
54 | | REINDEX = (CategoryMask{1} << 11), |
55 | | CMPCTBLOCK = (CategoryMask{1} << 12), |
56 | | RAND = (CategoryMask{1} << 13), |
57 | | PRUNE = (CategoryMask{1} << 14), |
58 | | PROXY = (CategoryMask{1} << 15), |
59 | | MEMPOOLREJ = (CategoryMask{1} << 16), |
60 | | LIBEVENT = (CategoryMask{1} << 17), |
61 | | COINDB = (CategoryMask{1} << 18), |
62 | | QT = (CategoryMask{1} << 19), |
63 | | LEVELDB = (CategoryMask{1} << 20), |
64 | | VALIDATION = (CategoryMask{1} << 21), |
65 | | I2P = (CategoryMask{1} << 22), |
66 | | IPC = (CategoryMask{1} << 23), |
67 | | #ifdef DEBUG_LOCKCONTENTION |
68 | | LOCK = (CategoryMask{1} << 24), |
69 | | #endif |
70 | | BLOCKSTORAGE = (CategoryMask{1} << 25), |
71 | | TXRECONCILIATION = (CategoryMask{1} << 26), |
72 | | SCAN = (CategoryMask{1} << 27), |
73 | | TXPACKAGES = (CategoryMask{1} << 28), |
74 | | ALL = ~NONE, |
75 | | }; |
76 | | enum class Level { |
77 | | Trace = 0, // High-volume or detailed logging for development/debugging |
78 | | Debug, // Reasonably noisy logging, but still usable in production |
79 | | Info, // Default |
80 | | Warning, |
81 | | Error, |
82 | | }; |
83 | | constexpr auto DEFAULT_LOG_LEVEL{Level::Debug}; |
84 | | constexpr size_t DEFAULT_MAX_LOG_BUFFER{1'000'000}; // buffer up to 1MB of log data prior to StartLogging |
85 | | |
86 | | class Logger |
87 | | { |
88 | | public: |
89 | | struct BufferedLog { |
90 | | SystemClock::time_point now; |
91 | | std::chrono::seconds mocktime; |
92 | | std::string str, logging_function, source_file, threadname; |
93 | | int source_line; |
94 | | LogFlags category; |
95 | | Level level; |
96 | | }; |
97 | | |
98 | | private: |
99 | | mutable StdMutex m_cs; // Can not use Mutex from sync.h because in debug mode it would cause a deadlock when a potential deadlock was detected |
100 | | |
101 | | FILE* m_fileout GUARDED_BY(m_cs) = nullptr; |
102 | | std::list<BufferedLog> m_msgs_before_open GUARDED_BY(m_cs); |
103 | | bool m_buffering GUARDED_BY(m_cs) = true; //!< Buffer messages before logging can be started. |
104 | | size_t m_max_buffer_memusage GUARDED_BY(m_cs){DEFAULT_MAX_LOG_BUFFER}; |
105 | | size_t m_cur_buffer_memusage GUARDED_BY(m_cs){0}; |
106 | | size_t m_buffer_lines_discarded GUARDED_BY(m_cs){0}; |
107 | | |
108 | | //! Category-specific log level. Overrides `m_log_level`. |
109 | | std::unordered_map<LogFlags, Level> m_category_log_levels GUARDED_BY(m_cs); |
110 | | |
111 | | //! If there is no category-specific log level, all logs with a severity |
112 | | //! level lower than `m_log_level` will be ignored. |
113 | | std::atomic<Level> m_log_level{DEFAULT_LOG_LEVEL}; |
114 | | |
115 | | /** Log categories bitfield. */ |
116 | | std::atomic<CategoryMask> m_categories{BCLog::NONE}; |
117 | | |
118 | | void FormatLogStrInPlace(std::string& str, LogFlags category, Level level, std::string_view source_file, int source_line, std::string_view logging_function, std::string_view threadname, SystemClock::time_point now, std::chrono::seconds mocktime) const; |
119 | | |
120 | | std::string LogTimestampStr(SystemClock::time_point now, std::chrono::seconds mocktime) const; |
121 | | |
122 | | /** Slots that connect to the print signal */ |
123 | | std::list<std::function<void(const std::string&)>> m_print_callbacks GUARDED_BY(m_cs) {}; |
124 | | |
125 | | /** Send a string to the log output (internal) */ |
126 | | void LogPrintStr_(std::string_view str, std::string_view logging_function, std::string_view source_file, int source_line, BCLog::LogFlags category, BCLog::Level level) |
127 | | EXCLUSIVE_LOCKS_REQUIRED(m_cs); |
128 | | |
129 | | std::string GetLogPrefix(LogFlags category, Level level) const; |
130 | | |
131 | | public: |
132 | | bool m_print_to_console = false; |
133 | | bool m_print_to_file = false; |
134 | | |
135 | | bool m_log_timestamps = DEFAULT_LOGTIMESTAMPS; |
136 | | bool m_log_time_micros = DEFAULT_LOGTIMEMICROS; |
137 | | bool m_log_threadnames = DEFAULT_LOGTHREADNAMES; |
138 | | bool m_log_sourcelocations = DEFAULT_LOGSOURCELOCATIONS; |
139 | | bool m_always_print_category_level = DEFAULT_LOGLEVELALWAYS; |
140 | | |
141 | | fs::path m_file_path; |
142 | | std::atomic<bool> m_reopen_file{false}; |
143 | | |
144 | | /** Send a string to the log output */ |
145 | | void LogPrintStr(std::string_view str, std::string_view logging_function, std::string_view source_file, int source_line, BCLog::LogFlags category, BCLog::Level level) |
146 | | EXCLUSIVE_LOCKS_REQUIRED(!m_cs); |
147 | | |
148 | | /** Returns whether logs will be written to any output */ |
149 | | bool Enabled() const EXCLUSIVE_LOCKS_REQUIRED(!m_cs) |
150 | 21.1M | { |
151 | 21.1M | StdLockGuard scoped_lock(m_cs); |
152 | 21.1M | return m_buffering || m_print_to_console21.0M || m_print_to_file21.0M || !m_print_callbacks.empty()21.0M ; |
153 | 21.1M | } |
154 | | |
155 | | /** Connect a slot to the print signal and return the connection */ |
156 | | std::list<std::function<void(const std::string&)>>::iterator PushBackCallback(std::function<void(const std::string&)> fun) EXCLUSIVE_LOCKS_REQUIRED(!m_cs) |
157 | 0 | { |
158 | 0 | StdLockGuard scoped_lock(m_cs); |
159 | 0 | m_print_callbacks.push_back(std::move(fun)); |
160 | 0 | return --m_print_callbacks.end(); |
161 | 0 | } |
162 | | |
163 | | /** Delete a connection */ |
164 | | void DeleteCallback(std::list<std::function<void(const std::string&)>>::iterator it) EXCLUSIVE_LOCKS_REQUIRED(!m_cs) |
165 | 0 | { |
166 | 0 | StdLockGuard scoped_lock(m_cs); |
167 | 0 | m_print_callbacks.erase(it); |
168 | 0 | } |
169 | | |
170 | | /** Start logging (and flush all buffered messages) */ |
171 | | bool StartLogging() EXCLUSIVE_LOCKS_REQUIRED(!m_cs); |
172 | | /** Only for testing */ |
173 | | void DisconnectTestLogger() EXCLUSIVE_LOCKS_REQUIRED(!m_cs); |
174 | | |
175 | | /** Disable logging |
176 | | * This offers a slight speedup and slightly smaller memory usage |
177 | | * compared to leaving the logging system in its default state. |
178 | | * Mostly intended for libbitcoin-kernel apps that don't want any logging. |
179 | | * Should be used instead of StartLogging(). |
180 | | */ |
181 | | void DisableLogging() EXCLUSIVE_LOCKS_REQUIRED(!m_cs); |
182 | | |
183 | | void ShrinkDebugFile(); |
184 | | |
185 | | std::unordered_map<LogFlags, Level> CategoryLevels() const EXCLUSIVE_LOCKS_REQUIRED(!m_cs) |
186 | 0 | { |
187 | 0 | StdLockGuard scoped_lock(m_cs); |
188 | 0 | return m_category_log_levels; |
189 | 0 | } |
190 | | void SetCategoryLogLevel(const std::unordered_map<LogFlags, Level>& levels) EXCLUSIVE_LOCKS_REQUIRED(!m_cs) |
191 | 0 | { |
192 | 0 | StdLockGuard scoped_lock(m_cs); |
193 | 0 | m_category_log_levels = levels; |
194 | 0 | } |
195 | | bool SetCategoryLogLevel(std::string_view category_str, std::string_view level_str) EXCLUSIVE_LOCKS_REQUIRED(!m_cs); |
196 | | |
197 | 0 | Level LogLevel() const { return m_log_level.load(); } |
198 | 0 | void SetLogLevel(Level level) { m_log_level = level; } |
199 | | bool SetLogLevel(std::string_view level); |
200 | | |
201 | 0 | CategoryMask GetCategoryMask() const { return m_categories.load(); } |
202 | | |
203 | | void EnableCategory(LogFlags flag); |
204 | | bool EnableCategory(std::string_view str); |
205 | | void DisableCategory(LogFlags flag); |
206 | | bool DisableCategory(std::string_view str); |
207 | | |
208 | | bool WillLogCategory(LogFlags category) const; |
209 | | bool WillLogCategoryLevel(LogFlags category, Level level) const EXCLUSIVE_LOCKS_REQUIRED(!m_cs); |
210 | | |
211 | | /** Returns a vector of the log categories in alphabetical order. */ |
212 | | std::vector<LogCategory> LogCategoriesList() const; |
213 | | /** Returns a string with the log categories in alphabetical order. */ |
214 | | std::string LogCategoriesString() const |
215 | 99.9k | { |
216 | 2.79M | return util::Join(LogCategoriesList(), ", ", [&](const LogCategory& i) { return i.category; }); |
217 | 99.9k | }; |
218 | | |
219 | | //! Returns a string with all user-selectable log levels. |
220 | | std::string LogLevelsString() const; |
221 | | |
222 | | //! Returns the string representation of a log level. |
223 | | static std::string LogLevelToStr(BCLog::Level level); |
224 | | |
225 | | bool DefaultShrinkDebugFile() const; |
226 | | }; |
227 | | |
228 | | } // namespace BCLog |
229 | | |
230 | | BCLog::Logger& LogInstance(); |
231 | | |
232 | | /** Return true if log accepts specified category, at the specified level. */ |
233 | | static inline bool LogAcceptCategory(BCLog::LogFlags category, BCLog::Level level) |
234 | 273M | { |
235 | 273M | return LogInstance().WillLogCategoryLevel(category, level); |
236 | 273M | } Unexecuted instantiation: addition_overflow.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE addrman.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 234 | 3.10k | { | 235 | 3.10k | return LogInstance().WillLogCategoryLevel(category, level); | 236 | 3.10k | } |
Unexecuted instantiation: autofile.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE banman.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 234 | 49.9k | { | 235 | 49.9k | return LogInstance().WillLogCategoryLevel(category, level); | 236 | 49.9k | } |
Unexecuted instantiation: bip324.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: bitdeque.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: bitset.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: block.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: block_header.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: block_index.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: blockfilter.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: bloom_filter.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: buffered_file.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: chain.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: checkqueue.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: cmpctblock.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: coins_view.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: coinscache_sim.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: connman.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: crypto.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: crypto_aes256.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: crypto_aes256cbc.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: crypto_chacha20.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: crypto_chacha20poly1305.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: crypto_common.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: crypto_diff_fuzz_chacha20.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: crypto_hkdf_hmac_sha256_l32.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: crypto_poly1305.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: cuckoocache.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: deserialize.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: feefrac.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: fee_rate.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: feeratediagram.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: fees.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE flatfile.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 234 | 99.9k | { | 235 | 99.9k | return LogInstance().WillLogCategoryLevel(category, level); | 236 | 99.9k | } |
Unexecuted instantiation: float.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: golomb_rice.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: headerssync.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: http_request.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: i2p.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: integer.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: key.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: kitchen_sink.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: load_external_block_file.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: merkleblock.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: message.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: miniscript.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: minisketch.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: mini_miner.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: muhash.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: multiplication_overflow.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE net.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 234 | 1.17M | { | 235 | 1.17M | return LogInstance().WillLogCategoryLevel(category, level); | 236 | 1.17M | } |
Unexecuted instantiation: net_permissions.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: netaddress.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: netbase_dns_lookup.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: node_eviction.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: p2p_handshake.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: p2p_headers_presync.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: p2p_transport_serialization.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: pcp.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: package_eval.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: parse_hd_keypath.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: partially_downloaded_block.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: policy_estimator.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: policy_estimator_io.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: poolresource.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: pow.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: primitives_transaction.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: process_message.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: process_messages.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: protocol.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: random.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: rbf.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: rolling_bloom_filter.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: rpc.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: script.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: script_descriptor_cache.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: script_format.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: script_interpreter.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: script_ops.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: script_sigcache.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: script_sign.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: scriptnum_ops.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: secp256k1_ec_seckey_import_export_der.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: secp256k1_ecdsa_signature_parse_der_lax.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: signature_checker.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: signet.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: socks5.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: span.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: string.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: strprintf.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: system.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: torcontrol.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: transaction.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: txdownloadman.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: tx_pool.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: txorphan.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: utxo_snapshot.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: utxo_total_supply.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: validation_load_mempool.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: vecdeque.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: versionbits.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: coincontrol.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: coinselection.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: crypter.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: notifications.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: scriptpubkeyman.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: spend.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: wallet_bdb_parser.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: mempool.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: util.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: chainparams.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: coins.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: args.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: config.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: netif.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: common.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: net_types.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: netbase.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: request.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: signingprovider.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: asmap.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: batchpriority.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: exception.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: fs_helpers.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: sock.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: thread.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: logging.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: db.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: dump.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: external_signer_scriptpubkeyman.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: feebumper.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: interfaces.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: load.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: migrate.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: receive.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: addresses.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: backup.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: encrypt.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: signmessage.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: transactions.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: wallet.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: sqlite.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: walletdb.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: walletutil.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: mining.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: setup_common.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE txmempool.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 234 | 10.0M | { | 235 | 10.0M | return LogInstance().WillLogCategoryLevel(category, level); | 236 | 10.0M | } |
validation.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 234 | 170M | { | 235 | 170M | return LogInstance().WillLogCategoryLevel(category, level); | 236 | 170M | } |
Unexecuted instantiation: addrdb.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE blockencodings.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 234 | 47.5k | { | 235 | 47.5k | return LogInstance().WillLogCategoryLevel(category, level); | 236 | 47.5k | } |
dbwrapper.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 234 | 250k | { | 235 | 250k | return LogInstance().WillLogCategoryLevel(category, level); | 236 | 250k | } |
Unexecuted instantiation: httprpc.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: httpserver.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: base.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: blockfilterindex.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: coinstatsindex.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: txindex.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: init.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: coinstats.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: context.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: mapport.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE net_processing.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 234 | 1.29M | { | 235 | 1.29M | return LogInstance().WillLogCategoryLevel(category, level); | 236 | 1.29M | } |
Unexecuted instantiation: netgroup.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: abort.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: blockmanager_args.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: blockstorage.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: caches.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: chainstate.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: chainstatemanager_args.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: coin.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: kernel_notifications.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: mempool_args.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: mempool_persist.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: mempool_persist_args.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE miner.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 234 | 9.99M | { | 235 | 9.99M | return LogInstance().WillLogCategoryLevel(category, level); | 236 | 9.99M | } |
timeoffsets.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 234 | 46.7k | { | 235 | 46.7k | return LogInstance().WillLogCategoryLevel(category, level); | 236 | 46.7k | } |
Unexecuted instantiation: txdownloadman_impl.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE txreconciliation.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 234 | 35.3k | { | 235 | 35.3k | return LogInstance().WillLogCategoryLevel(category, level); | 236 | 35.3k | } |
Unexecuted instantiation: noui.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: truc_policy.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: rest.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: blockchain.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: node.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: rawtransaction.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: server.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: server_util.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: txoutproof.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: sigcache.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE txdb.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 234 | 1.03k | { | 235 | 1.03k | return LogInstance().WillLogCategoryLevel(category, level); | 236 | 1.03k | } |
Unexecuted instantiation: txorphanage.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE validationinterface.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 234 | 80.3M | { | 235 | 80.3M | return LogInstance().WillLogCategoryLevel(category, level); | 236 | 80.3M | } |
|
237 | | |
238 | | /** Return true if str parses as a log category and set the flag */ |
239 | | bool GetLogCategory(BCLog::LogFlags& flag, std::string_view str); |
240 | | |
241 | | template <typename... Args> |
242 | | inline void LogPrintFormatInternal(std::string_view logging_function, std::string_view source_file, const int source_line, const BCLog::LogFlags flag, const BCLog::Level level, util::ConstevalFormatString<sizeof...(Args)> fmt, const Args&... args) |
243 | 21.1M | { |
244 | 21.1M | if (LogInstance().Enabled()) { |
245 | 99.9k | std::string log_msg; |
246 | 99.9k | try { |
247 | 99.9k | log_msg = tfm::format(fmt, args...); |
248 | 99.9k | } catch (tinyformat::format_error& fmterr) { |
249 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; |
250 | 0 | } |
251 | 99.9k | LogInstance().LogPrintStr(log_msg, logging_function, source_file, source_line, flag, level); |
252 | 99.9k | } |
253 | 21.1M | } _Z22LogPrintFormatInternalIJiEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 243 | 49.9k | { | 244 | 49.9k | if (LogInstance().Enabled()) { | 245 | 0 | std::string log_msg; | 246 | 0 | try { | 247 | 0 | log_msg = tfm::format(fmt, args...); | 248 | 0 | } catch (tinyformat::format_error& fmterr) { | 249 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 250 | 0 | } | 251 | 0 | LogInstance().LogPrintStr(log_msg, logging_function, source_file, source_line, flag, level); | 252 | 0 | } | 253 | 49.9k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEExxiEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJPKcEEvNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEES6_iN5BCLog8LogFlagsENS7_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_EEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 243 | 199k | { | 244 | 199k | if (LogInstance().Enabled()) { | 245 | 0 | std::string log_msg; | 246 | 0 | try { | 247 | 0 | log_msg = tfm::format(fmt, args...); | 248 | 0 | } catch (tinyformat::format_error& fmterr) { | 249 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 250 | 0 | } | 251 | 0 | LogInstance().LogPrintStr(log_msg, logging_function, source_file, source_line, flag, level); | 252 | 0 | } | 253 | 199k | } |
_Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 243 | 151k | { | 244 | 151k | if (LogInstance().Enabled()) { | 245 | 49.9k | std::string log_msg; | 246 | 49.9k | try { | 247 | 49.9k | log_msg = tfm::format(fmt, args...); | 248 | 49.9k | } catch (tinyformat::format_error& fmterr) { | 249 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 250 | 0 | } | 251 | 49.9k | LogInstance().LogPrintStr(log_msg, logging_function, source_file, source_line, flag, level); | 252 | 49.9k | } | 253 | 151k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_S6_S6_EEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 243 | 257k | { | 244 | 257k | if (LogInstance().Enabled()) { | 245 | 0 | std::string log_msg; | 246 | 0 | try { | 247 | 0 | log_msg = tfm::format(fmt, args...); | 248 | 0 | } catch (tinyformat::format_error& fmterr) { | 249 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 250 | 0 | } | 251 | 0 | LogInstance().LogPrintStr(log_msg, logging_function, source_file, source_line, flag, level); | 252 | 0 | } | 253 | 257k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEiEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEiS6_EEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJtNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEtS6_EEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEtEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJhEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_S6_EEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJjEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__121__quoted_output_proxyIcNS0_11char_traitsIcEEEEiEEvNS0_17basic_string_viewIcS3_EES6_iN5BCLog8LogFlagsENS7_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__121__quoted_output_proxyIcNS0_11char_traitsIcEEEEEEvNS0_17basic_string_viewIcS3_EES6_iN5BCLog8LogFlagsENS7_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJjNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEEEEvS4_S4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 243 | 99.9k | { | 244 | 99.9k | if (LogInstance().Enabled()) { | 245 | 0 | std::string log_msg; | 246 | 0 | try { | 247 | 0 | log_msg = tfm::format(fmt, args...); | 248 | 0 | } catch (tinyformat::format_error& fmterr) { | 249 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 250 | 0 | } | 251 | 0 | LogInstance().LogPrintStr(log_msg, logging_function, source_file, source_line, flag, level); | 252 | 0 | } | 253 | 99.9k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJyEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA14_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES7_EEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA14_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPKcEEvNS1_17basic_string_viewIcS4_EESB_iN5BCLog8LogFlagsENSC_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA10_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES7_EEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA13_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES7_EEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJiPKcEEvNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEES6_iN5BCLog8LogFlagsENS7_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPKcEEvNS0_17basic_string_viewIcS3_EESA_iN5BCLog8LogFlagsENSB_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA7_cPKcEEvNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEES7_iN5BCLog8LogFlagsENS8_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJPKcS1_EEvNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEES6_iN5BCLog8LogFlagsENS7_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA8_cPKcEEvNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEES7_iN5BCLog8LogFlagsENS8_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA9_cPKcEEvNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEES7_iN5BCLog8LogFlagsENS8_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA14_cPKcEEvNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEES7_iN5BCLog8LogFlagsENS8_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA5_cPKcEEvNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEES7_iN5BCLog8LogFlagsENS8_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJiNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJPKcNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEvNS2_17basic_string_viewIcS5_EESA_iN5BCLog8LogFlagsENSB_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 243 | 49.9k | { | 244 | 49.9k | if (LogInstance().Enabled()) { | 245 | 49.9k | std::string log_msg; | 246 | 49.9k | try { | 247 | 49.9k | log_msg = tfm::format(fmt, args...); | 248 | 49.9k | } catch (tinyformat::format_error& fmterr) { | 249 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 250 | 0 | } | 251 | 49.9k | LogInstance().LogPrintStr(log_msg, logging_function, source_file, source_line, flag, level); | 252 | 49.9k | } | 253 | 49.9k | } |
_Z22LogPrintFormatInternalIJA16_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 243 | 41.6k | { | 244 | 41.6k | if (LogInstance().Enabled()) { | 245 | 0 | std::string log_msg; | 246 | 0 | try { | 247 | 0 | log_msg = tfm::format(fmt, args...); | 248 | 0 | } catch (tinyformat::format_error& fmterr) { | 249 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 250 | 0 | } | 251 | 0 | LogInstance().LogPrintStr(log_msg, logging_function, source_file, source_line, flag, level); | 252 | 0 | } | 253 | 41.6k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJA12_cPKcEEvNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEES7_iN5BCLog8LogFlagsENS8_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA16_cEEvNSt3__117basic_string_viewIcNS1_11char_traitsIcEEEES5_iN5BCLog8LogFlagsENS6_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJmxEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJmNSt3__121__quoted_output_proxyIcNS0_11char_traitsIcEEEEEEvNS0_17basic_string_viewIcS3_EES6_iN5BCLog8LogFlagsENS7_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEiiEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEiiiiEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_iiEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_mEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJimNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEiiEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJmEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJiiEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEmEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEmmmmEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEddEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJmPKciEEvNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEES6_iN5BCLog8LogFlagsENS7_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA6_ciEEvNSt3__117basic_string_viewIcNS1_11char_traitsIcEEEES5_iN5BCLog8LogFlagsENS6_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJxxyNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJxxEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJxxxEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJxiEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA13_cEEvNSt3__117basic_string_viewIcNS1_11char_traitsIcEEEES5_iN5BCLog8LogFlagsENS6_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEbEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJPKcNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEES8_EEvNS2_17basic_string_viewIcS5_EESA_iN5BCLog8LogFlagsENSB_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA7_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA15_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES7_EEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA18_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES7_EEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA31_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA27_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEhiEEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA12_ciEEvNSt3__117basic_string_viewIcNS1_11char_traitsIcEEEES5_iN5BCLog8LogFlagsENS6_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA12_ciiEEvNSt3__117basic_string_viewIcNS1_11char_traitsIcEEEES5_iN5BCLog8LogFlagsENS6_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA12_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEhiEEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA12_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEhS7_EEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA11_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA13_ciEEvNSt3__117basic_string_viewIcNS1_11char_traitsIcEEEES5_iN5BCLog8LogFlagsENS6_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA19_cPKcEEvNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEES7_iN5BCLog8LogFlagsENS8_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA18_ciEEvNSt3__117basic_string_viewIcNS1_11char_traitsIcEEEES5_iN5BCLog8LogFlagsENS6_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA18_cEEvNSt3__117basic_string_viewIcNS1_11char_traitsIcEEEES5_iN5BCLog8LogFlagsENS6_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA17_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES7_EEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA13_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA7_cEEvNSt3__117basic_string_viewIcNS1_11char_traitsIcEEEES5_iN5BCLog8LogFlagsENS6_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJddEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA9_cEEvNSt3__117basic_string_viewIcNS1_11char_traitsIcEEEES5_iN5BCLog8LogFlagsENS6_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJbNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJdEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJdNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA17_cEEvNSt3__117basic_string_viewIcNS1_11char_traitsIcEEEES5_iN5BCLog8LogFlagsENS6_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEExEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA3_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEdEEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJxNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJxEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 243 | 24.8k | { | 244 | 24.8k | if (LogInstance().Enabled()) { | 245 | 0 | std::string log_msg; | 246 | 0 | try { | 247 | 0 | log_msg = tfm::format(fmt, args...); | 248 | 0 | } catch (tinyformat::format_error& fmterr) { | 249 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 250 | 0 | } | 251 | 0 | LogInstance().LogPrintStr(log_msg, logging_function, source_file, source_line, flag, level); | 252 | 0 | } | 253 | 24.8k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEjxEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEjS6_S6_xEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJjxEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJxNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_EEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJPKcNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEES8_S8_EEvNS2_17basic_string_viewIcS5_EESA_iN5BCLog8LogFlagsENSB_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA9_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJA17_cbEEvNSt3__117basic_string_viewIcNS1_11char_traitsIcEEEES5_iN5BCLog8LogFlagsENS6_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 243 | 49.9k | { | 244 | 49.9k | if (LogInstance().Enabled()) { | 245 | 0 | std::string log_msg; | 246 | 0 | try { | 247 | 0 | log_msg = tfm::format(fmt, args...); | 248 | 0 | } catch (tinyformat::format_error& fmterr) { | 249 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 250 | 0 | } | 251 | 0 | LogInstance().LogPrintStr(log_msg, logging_function, source_file, source_line, flag, level); | 252 | 0 | } | 253 | 49.9k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEmxEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA30_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEExEEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJxxmEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJ12ServiceFlagsS0_NSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJiiNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEbxEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJiibxEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEENS0_6atomicIiEES8_S6_bxS6_S6_EEvNS0_17basic_string_viewIcS3_EESA_iN5BCLog8LogFlagsENSB_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_iNS0_6atomicIiEExS6_S6_EEvNS0_17basic_string_viewIcS3_EESA_iN5BCLog8LogFlagsENSB_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 243 | 14.9k | { | 244 | 14.9k | if (LogInstance().Enabled()) { | 245 | 0 | std::string log_msg; | 246 | 0 | try { | 247 | 0 | log_msg = tfm::format(fmt, args...); | 248 | 0 | } catch (tinyformat::format_error& fmterr) { | 249 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 250 | 0 | } | 251 | 0 | LogInstance().LogPrintStr(log_msg, logging_function, source_file, source_line, flag, level); | 252 | 0 | } | 253 | 14.9k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJixEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_xEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJmyyxEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPKcxEEvNS0_17basic_string_viewIcS3_EESA_iN5BCLog8LogFlagsENSB_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJiNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEExEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA20_cxEEvNSt3__117basic_string_viewIcNS1_11char_traitsIcEEEES5_iN5BCLog8LogFlagsENS6_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJmjNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJiNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEixEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA15_cxEEvNSt3__117basic_string_viewIcNS1_11char_traitsIcEEEES5_iN5BCLog8LogFlagsENS6_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEA17_cEEvNS0_17basic_string_viewIcS3_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJxNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_mmEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_xS6_EEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_ixEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJixNSt3__16atomicIiEEEEvNS0_17basic_string_viewIcNS0_11char_traitsIcEEEES6_iN5BCLog8LogFlagsENS7_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJxNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEENS0_6atomicIyEEymEEvNS0_17basic_string_viewIcS3_EESA_iN5BCLog8LogFlagsENSB_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJhNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJjjNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEjS6_EEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA16_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEjEEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA16_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEjPKcS9_EEvNS1_17basic_string_viewIcS4_EESB_iN5BCLog8LogFlagsENSC_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJPKcxEEvNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEES6_iN5BCLog8LogFlagsENS7_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA13_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEExEEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA13_cmNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES7_xEEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA13_cxNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEixEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJmmiEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA19_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA19_cEEvNSt3__117basic_string_viewIcNS1_11char_traitsIcEEEES5_iN5BCLog8LogFlagsENS6_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJ14ChainstateRoleiiEEvNSt3__117basic_string_viewIcNS1_11char_traitsIcEEEES5_iN5BCLog8LogFlagsENS6_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJ14ChainstateRoleyyxiiiEEvNSt3__117basic_string_viewIcNS1_11char_traitsIcEEEES5_iN5BCLog8LogFlagsENS6_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJyNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA15_ciEEvNSt3__117basic_string_viewIcNS1_11char_traitsIcEEEES5_iN5BCLog8LogFlagsENS6_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJA17_ciEEvNSt3__117basic_string_viewIcNS1_11char_traitsIcEEEES5_iN5BCLog8LogFlagsENS6_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 243 | 49.9k | { | 244 | 49.9k | if (LogInstance().Enabled()) { | 245 | 0 | std::string log_msg; | 246 | 0 | try { | 247 | 0 | log_msg = tfm::format(fmt, args...); | 248 | 0 | } catch (tinyformat::format_error& fmterr) { | 249 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 250 | 0 | } | 251 | 0 | LogInstance().LogPrintStr(log_msg, logging_function, source_file, source_line, flag, level); | 252 | 0 | } | 253 | 49.9k | } |
_Z22LogPrintFormatInternalIJA17_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 243 | 49.9k | { | 244 | 49.9k | if (LogInstance().Enabled()) { | 245 | 0 | std::string log_msg; | 246 | 0 | try { | 247 | 0 | log_msg = tfm::format(fmt, args...); | 248 | 0 | } catch (tinyformat::format_error& fmterr) { | 249 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 250 | 0 | } | 251 | 0 | LogInstance().LogPrintStr(log_msg, logging_function, source_file, source_line, flag, level); | 252 | 0 | } | 253 | 49.9k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJN4node13BlockfileTypeENS0_15BlockfileCursorEEEvNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEES7_iN5BCLog8LogFlagsENS8_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJiNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEijEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJibiEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEjyEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJiyyEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJxxxxxEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJddmEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJxyxyEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 243 | 9.99M | { | 244 | 9.99M | if (LogInstance().Enabled()) { | 245 | 0 | std::string log_msg; | 246 | 0 | try { | 247 | 0 | log_msg = tfm::format(fmt, args...); | 248 | 0 | } catch (tinyformat::format_error& fmterr) { | 249 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 250 | 0 | } | 251 | 0 | LogInstance().LogPrintStr(log_msg, logging_function, source_file, source_line, flag, level); | 252 | 0 | } | 253 | 9.99M | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJdiiddEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJxmEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJPKcNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEExEEvNS2_17basic_string_viewIcS5_EESA_iN5BCLog8LogFlagsENSB_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJxbEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJidddddfddddddfddddEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJmmEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJjjEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEllEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJjmjjmjPKcEEvNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEES6_iN5BCLog8LogFlagsENS7_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJmdEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEExPKcEEvNS0_17basic_string_viewIcS3_EESA_iN5BCLog8LogFlagsENSB_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJmmjEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 243 | 99.9k | { | 244 | 99.9k | if (LogInstance().Enabled()) { | 245 | 0 | std::string log_msg; | 246 | 0 | try { | 247 | 0 | log_msg = tfm::format(fmt, args...); | 248 | 0 | } catch (tinyformat::format_error& fmterr) { | 249 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 250 | 0 | } | 251 | 0 | LogInstance().LogPrintStr(log_msg, logging_function, source_file, source_line, flag, level); | 252 | 0 | } | 253 | 99.9k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEfEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEENS0_12basic_stringIcS3_NS0_9allocatorIcEEEEEEvS4_S4_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPKcS6_S6_EEvNS0_17basic_string_viewIcS3_EESA_iN5BCLog8LogFlagsENSB_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJjNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_EEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_jmmEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA21_cmNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJmxxEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_S6_S6_S6_EEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJmmxxEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_S6_iidyS6_ddjS6_EEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 243 | 10.0M | { | 244 | 10.0M | if (LogInstance().Enabled()) { | 245 | 0 | std::string log_msg; | 246 | 0 | try { | 247 | 0 | log_msg = tfm::format(fmt, args...); | 248 | 0 | } catch (tinyformat::format_error& fmterr) { | 249 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 250 | 0 | } | 251 | 0 | LogInstance().LogPrintStr(log_msg, logging_function, source_file, source_line, flag, level); | 252 | 0 | } | 253 | 10.0M | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_PKcEEvNS0_17basic_string_viewIcS3_EESA_iN5BCLog8LogFlagsENSB_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA27_cEEvNSt3__117basic_string_viewIcNS1_11char_traitsIcEEEES5_iN5BCLog8LogFlagsENS6_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA18_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEidS7_EEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJdddEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJjdddddEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJiddddEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA22_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA14_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA11_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES7_EEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA42_cEEvNSt3__117basic_string_viewIcNS1_11char_traitsIcEEEES5_iN5BCLog8LogFlagsENS6_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJiyyA13_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEA42_cEEvNS1_17basic_string_viewIcS4_EESA_iN5BCLog8LogFlagsENSB_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA18_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJidEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 243 | 7.11k | { | 244 | 7.11k | if (LogInstance().Enabled()) { | 245 | 0 | std::string log_msg; | 246 | 0 | try { | 247 | 0 | log_msg = tfm::format(fmt, args...); | 248 | 0 | } catch (tinyformat::format_error& fmterr) { | 249 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 250 | 0 | } | 251 | 0 | LogInstance().LogPrintStr(log_msg, logging_function, source_file, source_line, flag, level); | 252 | 0 | } | 253 | 7.11k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJxdEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA12_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEiS6_dEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJiNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_EEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA17_cPKcEEvNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEES7_iN5BCLog8LogFlagsENS8_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA22_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES7_EEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA22_cyPKcEEvNSt3__117basic_string_viewIcNS3_11char_traitsIcEEEES7_iN5BCLog8LogFlagsENS8_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEdEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJxfmEEvNSt3__117basic_string_viewIcNS0_11char_traitsIcEEEES4_iN5BCLog8LogFlagsENS5_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJymNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_iEEvNS0_17basic_string_viewIcS3_EES8_iN5BCLog8LogFlagsENS9_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA24_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES7_PKcEEvNS1_17basic_string_viewIcS4_EESB_iN5BCLog8LogFlagsENSC_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJPKcNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEES8_bEEvNS2_17basic_string_viewIcS5_EESA_iN5BCLog8LogFlagsENSB_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA16_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEiEEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJPKcNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEiEEvNS2_17basic_string_viewIcS5_EESA_iN5BCLog8LogFlagsENSB_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJPKcjmEEvNSt3__117basic_string_viewIcNS2_11char_traitsIcEEEES6_iN5BCLog8LogFlagsENS7_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA21_cNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvNS1_17basic_string_viewIcS4_EES9_iN5BCLog8LogFlagsENSA_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA21_cEEvNSt3__117basic_string_viewIcNS1_11char_traitsIcEEEES5_iN5BCLog8LogFlagsENS6_5LevelEN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ |
254 | | |
255 | 21.1M | #define LogPrintLevel_(category, level, ...) LogPrintFormatInternal(__func__, __FILE__, __LINE__, category, level, __VA_ARGS__20.1M ) |
256 | | |
257 | | // Log unconditionally. |
258 | | // Be conservative when using functions that unconditionally log to debug.log! |
259 | | // It should not be the case that an inbound peer can fill up a user's storage |
260 | | // with debug.log entries. |
261 | 21.1M | #define LogInfo(...) LogPrintLevel_(BCLog::LogFlags::ALL, BCLog::Level::Info, __VA_ARGS__) |
262 | 0 | #define LogWarning(...) LogPrintLevel_(BCLog::LogFlags::ALL, BCLog::Level::Warning, __VA_ARGS__) |
263 | 41.6k | #define LogError(...) LogPrintLevel_(BCLog::LogFlags::ALL, BCLog::Level::Error, __VA_ARGS__) |
264 | | |
265 | | // Deprecated unconditional logging. |
266 | 20.9M | #define LogPrintf(...) LogInfo(__VA_ARGS__) |
267 | | |
268 | | // Use a macro instead of a function for conditional logging to prevent |
269 | | // evaluating arguments when logging for the category is not enabled. |
270 | | |
271 | | // Log conditionally, prefixing the output with the passed category name and severity level. |
272 | | #define LogPrintLevel(category, level, ...) \ |
273 | 273M | do { \ |
274 | 273M | if (LogAcceptCategory((category), (level))) { \ |
275 | 0 | LogPrintLevel_(category, level, __VA_ARGS__); \ |
276 | 0 | } \ |
277 | 273M | } while (0) |
278 | | |
279 | | // Log conditionally, prefixing the output with the passed category name. |
280 | 273M | #define LogDebug(category, ...) LogPrintLevel(category, BCLog::Level::Debug, __VA_ARGS__) |
281 | 0 | #define LogTrace(category, ...) LogPrintLevel(category, BCLog::Level::Trace, __VA_ARGS__) |
282 | | |
283 | | #endif // BITCOIN_LOGGING_H |