/root/bitcoin/src/logging.h
Line | Count | Source |
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 <crypto/siphash.h> |
10 | | #include <threadsafety.h> |
11 | | #include <tinyformat.h> |
12 | | #include <util/fs.h> |
13 | | #include <util/string.h> |
14 | | #include <util/time.h> |
15 | | |
16 | | #include <atomic> |
17 | | #include <cstdint> |
18 | | #include <cstring> |
19 | | #include <functional> |
20 | | #include <list> |
21 | | #include <memory> |
22 | | #include <mutex> |
23 | | #include <source_location> |
24 | | #include <string> |
25 | | #include <unordered_map> |
26 | | #include <unordered_set> |
27 | | #include <vector> |
28 | | |
29 | | static const bool DEFAULT_LOGTIMEMICROS = false; |
30 | | static const bool DEFAULT_LOGIPS = false; |
31 | | static const bool DEFAULT_LOGTIMESTAMPS = true; |
32 | | static const bool DEFAULT_LOGTHREADNAMES = false; |
33 | | static const bool DEFAULT_LOGSOURCELOCATIONS = false; |
34 | | static constexpr bool DEFAULT_LOGLEVELALWAYS = false; |
35 | | extern const char * const DEFAULT_DEBUGLOGFILE; |
36 | | |
37 | | extern bool fLogIPs; |
38 | | |
39 | | struct SourceLocationEqual { |
40 | | bool operator()(const std::source_location& lhs, const std::source_location& rhs) const noexcept |
41 | 0 | { |
42 | 0 | return lhs.line() == rhs.line() && std::string_view(lhs.file_name()) == std::string_view(rhs.file_name()); |
43 | 0 | } |
44 | | }; |
45 | | |
46 | | struct SourceLocationHasher { |
47 | | size_t operator()(const std::source_location& s) const noexcept |
48 | 0 | { |
49 | | // Use CSipHasher(0, 0) as a simple way to get uniform distribution. |
50 | 0 | return size_t(CSipHasher(0, 0) |
51 | 0 | .Write(s.line()) |
52 | 0 | .Write(MakeUCharSpan(std::string_view{s.file_name()})) |
53 | 0 | .Finalize()); |
54 | 0 | } |
55 | | }; |
56 | | |
57 | | struct LogCategory { |
58 | | std::string category; |
59 | | bool active; |
60 | | }; |
61 | | |
62 | | namespace BCLog { |
63 | | using CategoryMask = uint64_t; |
64 | | enum LogFlags : CategoryMask { |
65 | | NONE = CategoryMask{0}, |
66 | | NET = (CategoryMask{1} << 0), |
67 | | TOR = (CategoryMask{1} << 1), |
68 | | MEMPOOL = (CategoryMask{1} << 2), |
69 | | HTTP = (CategoryMask{1} << 3), |
70 | | BENCH = (CategoryMask{1} << 4), |
71 | | ZMQ = (CategoryMask{1} << 5), |
72 | | WALLETDB = (CategoryMask{1} << 6), |
73 | | RPC = (CategoryMask{1} << 7), |
74 | | ESTIMATEFEE = (CategoryMask{1} << 8), |
75 | | ADDRMAN = (CategoryMask{1} << 9), |
76 | | SELECTCOINS = (CategoryMask{1} << 10), |
77 | | REINDEX = (CategoryMask{1} << 11), |
78 | | CMPCTBLOCK = (CategoryMask{1} << 12), |
79 | | RAND = (CategoryMask{1} << 13), |
80 | | PRUNE = (CategoryMask{1} << 14), |
81 | | PROXY = (CategoryMask{1} << 15), |
82 | | MEMPOOLREJ = (CategoryMask{1} << 16), |
83 | | LIBEVENT = (CategoryMask{1} << 17), |
84 | | COINDB = (CategoryMask{1} << 18), |
85 | | QT = (CategoryMask{1} << 19), |
86 | | LEVELDB = (CategoryMask{1} << 20), |
87 | | VALIDATION = (CategoryMask{1} << 21), |
88 | | I2P = (CategoryMask{1} << 22), |
89 | | IPC = (CategoryMask{1} << 23), |
90 | | #ifdef DEBUG_LOCKCONTENTION |
91 | | LOCK = (CategoryMask{1} << 24), |
92 | | #endif |
93 | | BLOCKSTORAGE = (CategoryMask{1} << 25), |
94 | | TXRECONCILIATION = (CategoryMask{1} << 26), |
95 | | SCAN = (CategoryMask{1} << 27), |
96 | | TXPACKAGES = (CategoryMask{1} << 28), |
97 | | ALL = ~NONE, |
98 | | }; |
99 | | enum class Level { |
100 | | Trace = 0, // High-volume or detailed logging for development/debugging |
101 | | Debug, // Reasonably noisy logging, but still usable in production |
102 | | Info, // Default |
103 | | Warning, |
104 | | Error, |
105 | | }; |
106 | | constexpr auto DEFAULT_LOG_LEVEL{Level::Debug}; |
107 | | constexpr size_t DEFAULT_MAX_LOG_BUFFER{1'000'000}; // buffer up to 1MB of log data prior to StartLogging |
108 | | constexpr uint64_t RATELIMIT_MAX_BYTES{1024 * 1024}; // maximum number of bytes per source location that can be logged within the RATELIMIT_WINDOW |
109 | | constexpr auto RATELIMIT_WINDOW{1h}; // time window after which log ratelimit stats are reset |
110 | | constexpr bool DEFAULT_LOGRATELIMIT{true}; |
111 | | |
112 | | //! Fixed window rate limiter for logging. |
113 | | class LogRateLimiter |
114 | | { |
115 | | public: |
116 | | //! Keeps track of an individual source location and how many available bytes are left for logging from it. |
117 | | struct Stats { |
118 | | //! Remaining bytes |
119 | | uint64_t m_available_bytes; |
120 | | //! Number of bytes that were consumed but didn't fit in the available bytes. |
121 | | uint64_t m_dropped_bytes{0}; |
122 | | |
123 | 0 | Stats(uint64_t max_bytes) : m_available_bytes{max_bytes} {} |
124 | | //! Updates internal accounting and returns true if enough available_bytes were remaining |
125 | | bool Consume(uint64_t bytes); |
126 | | }; |
127 | | |
128 | | private: |
129 | | mutable StdMutex m_mutex; |
130 | | |
131 | | //! Stats for each source location that has attempted to log something. |
132 | | std::unordered_map<std::source_location, Stats, SourceLocationHasher, SourceLocationEqual> m_source_locations GUARDED_BY(m_mutex); |
133 | | //! Whether any log locations are suppressed. Cached view on m_source_locations for performance reasons. |
134 | | std::atomic<bool> m_suppression_active{false}; |
135 | | LogRateLimiter(uint64_t max_bytes, std::chrono::seconds reset_window); |
136 | | |
137 | | public: |
138 | | using SchedulerFunction = std::function<void(std::function<void()>, std::chrono::milliseconds)>; |
139 | | /** |
140 | | * @param scheduler_func Callable object used to schedule resetting the window. The first |
141 | | * parameter is the function to be executed, and the second is the |
142 | | * reset_window interval. |
143 | | * @param max_bytes Maximum number of bytes that can be logged for each source |
144 | | * location. |
145 | | * @param reset_window Time window after which the stats are reset. |
146 | | */ |
147 | | static std::shared_ptr<LogRateLimiter> Create( |
148 | | SchedulerFunction&& scheduler_func, |
149 | | uint64_t max_bytes, |
150 | | std::chrono::seconds reset_window); |
151 | | //! Maximum number of bytes logged per location per window. |
152 | | const uint64_t m_max_bytes; |
153 | | //! Interval after which the window is reset. |
154 | | const std::chrono::seconds m_reset_window; |
155 | | //! Suppression status of a source log location. |
156 | | enum class Status { |
157 | | UNSUPPRESSED, // string fits within the limit |
158 | | NEWLY_SUPPRESSED, // suppression has started since this string |
159 | | STILL_SUPPRESSED, // suppression is still ongoing |
160 | | }; |
161 | | //! Consumes `source_loc`'s available bytes corresponding to the size of the (formatted) |
162 | | //! `str` and returns its status. |
163 | | [[nodiscard]] Status Consume( |
164 | | const std::source_location& source_loc, |
165 | | const std::string& str) EXCLUSIVE_LOCKS_REQUIRED(!m_mutex); |
166 | | //! Resets all usage to zero. Called periodically by the scheduler. |
167 | | void Reset() EXCLUSIVE_LOCKS_REQUIRED(!m_mutex); |
168 | | //! Returns true if any log locations are currently being suppressed. |
169 | 0 | bool SuppressionsActive() const { return m_suppression_active; } |
170 | | }; |
171 | | |
172 | | class Logger |
173 | | { |
174 | | public: |
175 | | struct BufferedLog { |
176 | | SystemClock::time_point now; |
177 | | std::chrono::seconds mocktime; |
178 | | std::string str, threadname; |
179 | | std::source_location source_loc; |
180 | | LogFlags category; |
181 | | Level level; |
182 | | }; |
183 | | |
184 | | private: |
185 | | 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 |
186 | | |
187 | | FILE* m_fileout GUARDED_BY(m_cs) = nullptr; |
188 | | std::list<BufferedLog> m_msgs_before_open GUARDED_BY(m_cs); |
189 | | bool m_buffering GUARDED_BY(m_cs) = true; //!< Buffer messages before logging can be started. |
190 | | size_t m_max_buffer_memusage GUARDED_BY(m_cs){DEFAULT_MAX_LOG_BUFFER}; |
191 | | size_t m_cur_buffer_memusage GUARDED_BY(m_cs){0}; |
192 | | size_t m_buffer_lines_discarded GUARDED_BY(m_cs){0}; |
193 | | |
194 | | //! Manages the rate limiting of each log location. |
195 | | std::shared_ptr<LogRateLimiter> m_limiter GUARDED_BY(m_cs); |
196 | | |
197 | | //! Category-specific log level. Overrides `m_log_level`. |
198 | | std::unordered_map<LogFlags, Level> m_category_log_levels GUARDED_BY(m_cs); |
199 | | |
200 | | //! If there is no category-specific log level, all logs with a severity |
201 | | //! level lower than `m_log_level` will be ignored. |
202 | | std::atomic<Level> m_log_level{DEFAULT_LOG_LEVEL}; |
203 | | |
204 | | /** Log categories bitfield. */ |
205 | | std::atomic<CategoryMask> m_categories{BCLog::NONE}; |
206 | | |
207 | | void FormatLogStrInPlace(std::string& str, LogFlags category, Level level, const std::source_location& source_loc, std::string_view threadname, SystemClock::time_point now, std::chrono::seconds mocktime) const; |
208 | | |
209 | | std::string LogTimestampStr(SystemClock::time_point now, std::chrono::seconds mocktime) const; |
210 | | |
211 | | /** Slots that connect to the print signal */ |
212 | | std::list<std::function<void(const std::string&)>> m_print_callbacks GUARDED_BY(m_cs) {}; |
213 | | |
214 | | /** Send a string to the log output (internal) */ |
215 | | void LogPrintStr_(std::string_view str, std::source_location&& source_loc, BCLog::LogFlags category, BCLog::Level level, bool should_ratelimit) |
216 | | EXCLUSIVE_LOCKS_REQUIRED(m_cs); |
217 | | |
218 | | std::string GetLogPrefix(LogFlags category, Level level) const; |
219 | | |
220 | | public: |
221 | | bool m_print_to_console = false; |
222 | | bool m_print_to_file = false; |
223 | | |
224 | | bool m_log_timestamps = DEFAULT_LOGTIMESTAMPS; |
225 | | bool m_log_time_micros = DEFAULT_LOGTIMEMICROS; |
226 | | bool m_log_threadnames = DEFAULT_LOGTHREADNAMES; |
227 | | bool m_log_sourcelocations = DEFAULT_LOGSOURCELOCATIONS; |
228 | | bool m_always_print_category_level = DEFAULT_LOGLEVELALWAYS; |
229 | | |
230 | | fs::path m_file_path; |
231 | | std::atomic<bool> m_reopen_file{false}; |
232 | | |
233 | | /** Send a string to the log output */ |
234 | | void LogPrintStr(std::string_view str, std::source_location&& source_loc, BCLog::LogFlags category, BCLog::Level level, bool should_ratelimit) |
235 | | EXCLUSIVE_LOCKS_REQUIRED(!m_cs); |
236 | | |
237 | | /** Returns whether logs will be written to any output */ |
238 | | bool Enabled() const EXCLUSIVE_LOCKS_REQUIRED(!m_cs) |
239 | 4.40M | { |
240 | 4.40M | StdLockGuard scoped_lock(m_cs); |
241 | 4.40M | return m_buffering || m_print_to_console || m_print_to_file || !m_print_callbacks.empty(); |
242 | 4.40M | } |
243 | | |
244 | | /** Connect a slot to the print signal and return the connection */ |
245 | | std::list<std::function<void(const std::string&)>>::iterator PushBackCallback(std::function<void(const std::string&)> fun) EXCLUSIVE_LOCKS_REQUIRED(!m_cs) |
246 | 0 | { |
247 | 0 | StdLockGuard scoped_lock(m_cs); |
248 | 0 | m_print_callbacks.push_back(std::move(fun)); |
249 | 0 | return --m_print_callbacks.end(); |
250 | 0 | } |
251 | | |
252 | | /** Delete a connection */ |
253 | | void DeleteCallback(std::list<std::function<void(const std::string&)>>::iterator it) EXCLUSIVE_LOCKS_REQUIRED(!m_cs) |
254 | 0 | { |
255 | 0 | StdLockGuard scoped_lock(m_cs); |
256 | 0 | m_print_callbacks.erase(it); |
257 | 0 | } |
258 | | |
259 | | /** Start logging (and flush all buffered messages) */ |
260 | | bool StartLogging() EXCLUSIVE_LOCKS_REQUIRED(!m_cs); |
261 | | /** Only for testing */ |
262 | | void DisconnectTestLogger() EXCLUSIVE_LOCKS_REQUIRED(!m_cs); |
263 | | |
264 | | void SetRateLimiting(std::shared_ptr<LogRateLimiter> limiter) EXCLUSIVE_LOCKS_REQUIRED(!m_cs) |
265 | 0 | { |
266 | 0 | StdLockGuard scoped_lock(m_cs); |
267 | 0 | m_limiter = std::move(limiter); |
268 | 0 | } |
269 | | |
270 | | /** Disable logging |
271 | | * This offers a slight speedup and slightly smaller memory usage |
272 | | * compared to leaving the logging system in its default state. |
273 | | * Mostly intended for libbitcoin-kernel apps that don't want any logging. |
274 | | * Should be used instead of StartLogging(). |
275 | | */ |
276 | | void DisableLogging() EXCLUSIVE_LOCKS_REQUIRED(!m_cs); |
277 | | |
278 | | void ShrinkDebugFile(); |
279 | | |
280 | | std::unordered_map<LogFlags, Level> CategoryLevels() const EXCLUSIVE_LOCKS_REQUIRED(!m_cs) |
281 | 0 | { |
282 | 0 | StdLockGuard scoped_lock(m_cs); |
283 | 0 | return m_category_log_levels; |
284 | 0 | } |
285 | | void SetCategoryLogLevel(const std::unordered_map<LogFlags, Level>& levels) EXCLUSIVE_LOCKS_REQUIRED(!m_cs) |
286 | 0 | { |
287 | 0 | StdLockGuard scoped_lock(m_cs); |
288 | 0 | m_category_log_levels = levels; |
289 | 0 | } |
290 | | bool SetCategoryLogLevel(std::string_view category_str, std::string_view level_str) EXCLUSIVE_LOCKS_REQUIRED(!m_cs); |
291 | | |
292 | 2.31M | Level LogLevel() const { return m_log_level.load(); } |
293 | 0 | void SetLogLevel(Level level) { m_log_level = level; } |
294 | | bool SetLogLevel(std::string_view level); |
295 | | |
296 | 102 | CategoryMask GetCategoryMask() const { return m_categories.load(); } |
297 | | |
298 | | void EnableCategory(LogFlags flag); |
299 | | bool EnableCategory(std::string_view str); |
300 | | void DisableCategory(LogFlags flag); |
301 | | bool DisableCategory(std::string_view str); |
302 | | |
303 | | bool WillLogCategory(LogFlags category) const; |
304 | | bool WillLogCategoryLevel(LogFlags category, Level level) const EXCLUSIVE_LOCKS_REQUIRED(!m_cs); |
305 | | |
306 | | /** Returns a vector of the log categories in alphabetical order. */ |
307 | | std::vector<LogCategory> LogCategoriesList() const; |
308 | | /** Returns a string with the log categories in alphabetical order. */ |
309 | | std::string LogCategoriesString() const |
310 | 1.61k | { |
311 | 45.1k | return util::Join(LogCategoriesList(), ", ", [&](const LogCategory& i) { return i.category; }); |
312 | 1.61k | }; |
313 | | |
314 | | //! Returns a string with all user-selectable log levels. |
315 | | std::string LogLevelsString() const; |
316 | | |
317 | | //! Returns the string representation of a log level. |
318 | | static std::string LogLevelToStr(BCLog::Level level); |
319 | | |
320 | | bool DefaultShrinkDebugFile() const; |
321 | | }; |
322 | | |
323 | | } // namespace BCLog |
324 | | |
325 | | BCLog::Logger& LogInstance(); |
326 | | |
327 | | /** Return true if log accepts specified category, at the specified level. */ |
328 | | static inline bool LogAcceptCategory(BCLog::LogFlags category, BCLog::Level level) |
329 | 32.4M | { |
330 | 32.4M | return LogInstance().WillLogCategoryLevel(category, level); |
331 | 32.4M | } Unexecuted instantiation: addition_overflow.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE addrman.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 329 | 18.9M | { | 330 | 18.9M | return LogInstance().WillLogCategoryLevel(category, level); | 331 | 18.9M | } |
Unexecuted instantiation: autofile.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE banman.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 329 | 20.4k | { | 330 | 20.4k | return LogInstance().WillLogCategoryLevel(category, level); | 331 | 20.4k | } |
Unexecuted instantiation: base_encode_decode.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE 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: cluster_linearize.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 fees.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 329 | 29.7k | { | 330 | 29.7k | return LogInstance().WillLogCategoryLevel(category, level); | 331 | 29.7k | } |
flatfile.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 329 | 2.41k | { | 330 | 2.41k | return LogInstance().WillLogCategoryLevel(category, level); | 331 | 2.41k | } |
Unexecuted instantiation: float.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: golomb_rice.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE headerssync.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 329 | 913 | { | 330 | 913 | return LogInstance().WillLogCategoryLevel(category, level); | 331 | 913 | } |
Unexecuted instantiation: http_request.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE i2p.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 329 | 1.33k | { | 330 | 1.33k | return LogInstance().WillLogCategoryLevel(category, level); | 331 | 1.33k | } |
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: merkle.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 | 329 | 298k | { | 330 | 298k | return LogInstance().WillLogCategoryLevel(category, level); | 331 | 298k | } |
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 pcp.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 329 | 1.36k | { | 330 | 1.36k | return LogInstance().WillLogCategoryLevel(category, level); | 331 | 1.36k | } |
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: prevector.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: psbt.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_assets_test_minimizer.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: script_descriptor_cache.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: script_flags.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 signet.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 329 | 1.26k | { | 330 | 1.26k | return LogInstance().WillLogCategoryLevel(category, level); | 331 | 1.26k | } |
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 torcontrol.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 329 | 59.3k | { | 330 | 59.3k | return LogInstance().WillLogCategoryLevel(category, level); | 331 | 59.3k | } |
Unexecuted instantiation: transaction.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: txdownloadman.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: tx_in.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: tx_out.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: tx_pool.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: txgraph.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: txorphan.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: txrequest.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 coinselection.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 329 | 489 | { | 330 | 489 | return LogInstance().WillLogCategoryLevel(category, level); | 331 | 489 | } |
Unexecuted instantiation: crypter.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: bloom.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: core_read.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: core_write.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE netbase.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 329 | 45 | { | 330 | 45 | return LogInstance().WillLogCategoryLevel(category, level); | 331 | 45 | } |
Unexecuted instantiation: request.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: signingprovider.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: config.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: asmap.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: fs_helpers.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: sock.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: logging.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: streams.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: dump.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: migrate.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: wallet.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: walletdb.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: walletutil.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: db.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: external_signer_scriptpubkeyman.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: interfaces.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: load.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: receive.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: sqlite.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: feebumper.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: mining.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: setup_common.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE txmempool.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 329 | 132k | { | 330 | 132k | return LogInstance().WillLogCategoryLevel(category, level); | 331 | 132k | } |
validation.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 329 | 2.17M | { | 330 | 2.17M | return LogInstance().WillLogCategoryLevel(category, level); | 331 | 2.17M | } |
Unexecuted instantiation: addrdb.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE blockencodings.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 329 | 783 | { | 330 | 783 | return LogInstance().WillLogCategoryLevel(category, level); | 331 | 783 | } |
dbwrapper.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 329 | 2.26M | { | 330 | 2.26M | return LogInstance().WillLogCategoryLevel(category, level); | 331 | 2.26M | } |
Unexecuted instantiation: httpserver.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 | 329 | 1.03M | { | 330 | 1.03M | return LogInstance().WillLogCategoryLevel(category, level); | 331 | 1.03M | } |
Unexecuted instantiation: netgroup.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: coins_view_args.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: database_args.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 | 329 | 127k | { | 330 | 127k | return LogInstance().WillLogCategoryLevel(category, level); | 331 | 127k | } |
Unexecuted instantiation: peerman_args.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE timeoffsets.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 329 | 39.3k | { | 330 | 39.3k | return LogInstance().WillLogCategoryLevel(category, level); | 331 | 39.3k | } |
txdownloadman_impl.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 329 | 557k | { | 330 | 557k | return LogInstance().WillLogCategoryLevel(category, level); | 331 | 557k | } |
txorphanage.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 329 | 1.16M | { | 330 | 1.16M | return LogInstance().WillLogCategoryLevel(category, level); | 331 | 1.16M | } |
txreconciliation.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 329 | 6.95k | { | 330 | 6.95k | return LogInstance().WillLogCategoryLevel(category, level); | 331 | 6.95k | } |
Unexecuted instantiation: noui.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 | 329 | 4.27M | { | 330 | 4.27M | return LogInstance().WillLogCategoryLevel(category, level); | 331 | 4.27M | } |
validationinterface.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Line | Count | Source | 329 | 1.38M | { | 330 | 1.38M | return LogInstance().WillLogCategoryLevel(category, level); | 331 | 1.38M | } |
Unexecuted instantiation: httprpc.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: abort.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: coin.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: truc_policy.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: netif.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: external_signer.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: common.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: net_types.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: batchpriority.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: thread.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE Unexecuted instantiation: exception.cpp:_ZL17LogAcceptCategoryN5BCLog8LogFlagsENS_5LevelE |
332 | | |
333 | | /** Return true if str parses as a log category and set the flag */ |
334 | | bool GetLogCategory(BCLog::LogFlags& flag, std::string_view str); |
335 | | |
336 | | template <typename... Args> |
337 | | inline void LogPrintFormatInternal(std::source_location&& source_loc, BCLog::LogFlags flag, BCLog::Level level, bool should_ratelimit, util::ConstevalFormatString<sizeof...(Args)> fmt, const Args&... args) |
338 | 4.40M | { |
339 | 4.40M | if (LogInstance().Enabled()) { |
340 | 2.50M | std::string log_msg; |
341 | 2.50M | try { |
342 | 2.50M | log_msg = tfm::format(fmt, args...); |
343 | 2.50M | } catch (tinyformat::format_error& fmterr) { |
344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; |
345 | 0 | } |
346 | 2.50M | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); |
347 | 2.50M | } |
348 | 4.40M | } _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 524k | { | 339 | 524k | if (LogInstance().Enabled()) { | 340 | 417k | std::string log_msg; | 341 | 417k | try { | 342 | 417k | log_msg = tfm::format(fmt, args...); | 343 | 417k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 417k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 417k | } | 348 | 524k | } |
_Z22LogPrintFormatInternalIJiEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 4.72k | { | 339 | 4.72k | if (LogInstance().Enabled()) { | 340 | 1.65k | std::string log_msg; | 341 | 1.65k | try { | 342 | 1.65k | log_msg = tfm::format(fmt, args...); | 343 | 1.65k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 1.65k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 1.65k | } | 348 | 4.72k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElliEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJPKcEEvOSt15source_locationN5BCLog8LogFlagsENS4_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 2.64k | { | 339 | 2.64k | if (LogInstance().Enabled()) { | 340 | 0 | std::string log_msg; | 341 | 0 | try { | 342 | 0 | log_msg = tfm::format(fmt, args...); | 343 | 0 | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 0 | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 0 | } | 348 | 2.64k | } |
_Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_EEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 35.1k | { | 339 | 35.1k | if (LogInstance().Enabled()) { | 340 | 3.07k | std::string log_msg; | 341 | 3.07k | try { | 342 | 3.07k | log_msg = tfm::format(fmt, args...); | 343 | 3.07k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 3.07k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 3.07k | } | 348 | 35.1k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_EEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 83.0k | { | 339 | 83.0k | if (LogInstance().Enabled()) { | 340 | 0 | std::string log_msg; | 341 | 0 | try { | 342 | 0 | log_msg = tfm::format(fmt, args...); | 343 | 0 | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 0 | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 0 | } | 348 | 83.0k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiS5_EEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJtNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 127k | { | 339 | 127k | if (LogInstance().Enabled()) { | 340 | 61.0k | std::string log_msg; | 341 | 61.0k | try { | 342 | 61.0k | log_msg = tfm::format(fmt, args...); | 343 | 61.0k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 61.0k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 61.0k | } | 348 | 127k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEtS5_EEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEtEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 17 | { | 339 | 17 | if (LogInstance().Enabled()) { | 340 | 0 | std::string log_msg; | 341 | 0 | try { | 342 | 0 | log_msg = tfm::format(fmt, args...); | 343 | 0 | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 0 | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 0 | } | 348 | 17 | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJhEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_EEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 111 | { | 339 | 111 | if (LogInstance().Enabled()) { | 340 | 0 | std::string log_msg; | 341 | 0 | try { | 342 | 0 | log_msg = tfm::format(fmt, args...); | 343 | 0 | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 0 | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 0 | } | 348 | 111 | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJjEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt8__detail14_Quoted_stringIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEEiEEvOSt15source_locationN5BCLog8LogFlagsENSD_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt8__detail14_Quoted_stringIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEEEEvOSt15source_locationN5BCLog8LogFlagsENSD_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJPKcjS1_mlEEvOSt15source_locationN5BCLog8LogFlagsENS4_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJmEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 1.03k | { | 339 | 1.03k | if (LogInstance().Enabled()) { | 340 | 0 | std::string log_msg; | 341 | 0 | try { | 342 | 0 | log_msg = tfm::format(fmt, args...); | 343 | 0 | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 0 | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 0 | } | 348 | 1.03k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJSt17basic_string_viewIcSt11char_traitsIcEEEEvOSt15source_locationN5BCLog8LogFlagsENS6_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 1.56k | { | 339 | 1.56k | if (LogInstance().Enabled()) { | 340 | 1.53k | std::string log_msg; | 341 | 1.53k | try { | 342 | 1.53k | log_msg = tfm::format(fmt, args...); | 343 | 1.53k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 1.53k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 1.53k | } | 348 | 1.56k | } |
_Z22LogPrintFormatInternalIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENSA_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 186k | { | 339 | 186k | if (LogInstance().Enabled()) { | 340 | 147k | std::string log_msg; | 341 | 147k | try { | 342 | 147k | log_msg = tfm::format(fmt, args...); | 343 | 147k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 147k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 147k | } | 348 | 186k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJiPKcEEvOSt15source_locationN5BCLog8LogFlagsENS4_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcEEvOSt15source_locationN5BCLog8LogFlagsENSA_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 6.15k | { | 339 | 6.15k | if (LogInstance().Enabled()) { | 340 | 0 | std::string log_msg; | 341 | 0 | try { | 342 | 0 | log_msg = tfm::format(fmt, args...); | 343 | 0 | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 0 | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 0 | } | 348 | 6.15k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJA7_cPKcEEvOSt15source_locationN5BCLog8LogFlagsENS5_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJPKcS1_EEvOSt15source_locationN5BCLog8LogFlagsENS4_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA8_cPKcEEvOSt15source_locationN5BCLog8LogFlagsENS5_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA9_cPKcEEvOSt15source_locationN5BCLog8LogFlagsENS5_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA14_cPKcEEvOSt15source_locationN5BCLog8LogFlagsENS5_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA5_cPKcEEvOSt15source_locationN5BCLog8LogFlagsENS5_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJA16_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENS9_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 18.1k | { | 339 | 18.1k | if (LogInstance().Enabled()) { | 340 | 9.34k | std::string log_msg; | 341 | 9.34k | try { | 342 | 9.34k | log_msg = tfm::format(fmt, args...); | 343 | 9.34k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 9.34k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 9.34k | } | 348 | 18.1k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJA12_cPKcEEvOSt15source_locationN5BCLog8LogFlagsENS5_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA16_cEEvOSt15source_locationN5BCLog8LogFlagsENS3_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJmlEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 1 | { | 339 | 1 | if (LogInstance().Enabled()) { | 340 | 0 | std::string log_msg; | 341 | 0 | try { | 342 | 0 | log_msg = tfm::format(fmt, args...); | 343 | 0 | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 0 | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 0 | } | 348 | 1 | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJmNSt8__detail14_Quoted_stringIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEEEEvOSt15source_locationN5BCLog8LogFlagsENSD_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiiEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_iiEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_mEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJimNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJiiEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmmmmjEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEddEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 120 | { | 339 | 120 | if (LogInstance().Enabled()) { | 340 | 0 | std::string log_msg; | 341 | 0 | try { | 342 | 0 | log_msg = tfm::format(fmt, args...); | 343 | 0 | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 0 | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 0 | } | 348 | 120 | } |
_Z22LogPrintFormatInternalIJmPKciEEvOSt15source_locationN5BCLog8LogFlagsENS4_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 1.53k | { | 339 | 1.53k | if (LogInstance().Enabled()) { | 340 | 1.53k | std::string log_msg; | 341 | 1.53k | try { | 342 | 1.53k | log_msg = tfm::format(fmt, args...); | 343 | 1.53k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 1.53k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 1.53k | } | 348 | 1.53k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJPKcimEEvOSt15source_locationN5BCLog8LogFlagsENS4_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA6_ciEEvOSt15source_locationN5BCLog8LogFlagsENS3_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJllmNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJllEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJlllEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJliEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA13_cEEvOSt15source_locationN5BCLog8LogFlagsENS3_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_EEvOSt15source_locationN5BCLog8LogFlagsENSA_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJddEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJdEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 126k | { | 339 | 126k | if (LogInstance().Enabled()) { | 340 | 126k | std::string log_msg; | 341 | 126k | try { | 342 | 126k | log_msg = tfm::format(fmt, args...); | 343 | 126k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 126k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 126k | } | 348 | 126k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJdNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA17_cEEvOSt15source_locationN5BCLog8LogFlagsENS3_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA3_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEdEEvOSt15source_locationN5BCLog8LogFlagsENS9_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJlNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJlEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjlEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjS5_S5_lEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJjlEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJlNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_EEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_EEvOSt15source_locationN5BCLog8LogFlagsENSA_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA9_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENS9_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJA17_cbEEvOSt15source_locationN5BCLog8LogFlagsENS3_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 4.13k | { | 339 | 4.13k | if (LogInstance().Enabled()) { | 340 | 0 | std::string log_msg; | 341 | 0 | try { | 342 | 0 | log_msg = tfm::format(fmt, args...); | 343 | 0 | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 0 | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 0 | } | 348 | 4.13k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmlEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA30_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElEEvOSt15source_locationN5BCLog8LogFlagsENS9_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJllmEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJ12ServiceFlagsS0_NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENS9_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJiiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJiiblEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6atomicIiES7_S5_blS5_S5_EEvOSt15source_locationN5BCLog8LogFlagsENSA_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_iSt6atomicIiElS5_S5_EEvOSt15source_locationN5BCLog8LogFlagsENSA_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 3.29k | { | 339 | 3.29k | if (LogInstance().Enabled()) { | 340 | 0 | std::string log_msg; | 341 | 0 | try { | 342 | 0 | log_msg = tfm::format(fmt, args...); | 343 | 0 | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 0 | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 0 | } | 348 | 3.29k | } |
_Z22LogPrintFormatInternalIJilEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 261 | { | 339 | 261 | if (LogInstance().Enabled()) { | 340 | 0 | std::string log_msg; | 341 | 0 | try { | 342 | 0 | log_msg = tfm::format(fmt, args...); | 343 | 0 | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 0 | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 0 | } | 348 | 261 | } |
_Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_lEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 87 | { | 339 | 87 | if (LogInstance().Enabled()) { | 340 | 0 | std::string log_msg; | 341 | 0 | try { | 342 | 0 | log_msg = tfm::format(fmt, args...); | 343 | 0 | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 0 | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 0 | } | 348 | 87 | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJmmmlEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKclEEvOSt15source_locationN5BCLog8LogFlagsENSA_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA20_clEEvOSt15source_locationN5BCLog8LogFlagsENS3_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJmjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEilEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJlNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmjEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA15_clEEvOSt15source_locationN5BCLog8LogFlagsENS3_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA17_cEEvOSt15source_locationN5BCLog8LogFlagsENS9_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJlNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_mmEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_lS5_EEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_ilEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJilSt6atomicIiEEEvOSt15source_locationN5BCLog8LogFlagsENS4_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJlNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6atomicImEmmEEvOSt15source_locationN5BCLog8LogFlagsENSA_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJhNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJjjNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjS5_EEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA16_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjEEvOSt15source_locationN5BCLog8LogFlagsENS9_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA16_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjPKcS8_EEvOSt15source_locationN5BCLog8LogFlagsENSB_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJPKclEEvOSt15source_locationN5BCLog8LogFlagsENS4_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA13_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElEEvOSt15source_locationN5BCLog8LogFlagsENS9_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA13_cmNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_lEEvOSt15source_locationN5BCLog8LogFlagsENS9_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA13_clNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENS9_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEilEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJmmiEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 1.65k | { | 339 | 1.65k | if (LogInstance().Enabled()) { | 340 | 0 | std::string log_msg; | 341 | 0 | try { | 342 | 0 | log_msg = tfm::format(fmt, args...); | 343 | 0 | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 0 | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 0 | } | 348 | 1.65k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJA19_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENS9_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA19_cEEvOSt15source_locationN5BCLog8LogFlagsENS3_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJ14ChainstateRoleiiEEvOSt15source_locationN5BCLog8LogFlagsENS3_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJ14ChainstateRolemmliiiEEvOSt15source_locationN5BCLog8LogFlagsENS3_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJmNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 954 | { | 339 | 954 | if (LogInstance().Enabled()) { | 340 | 0 | std::string log_msg; | 341 | 0 | try { | 342 | 0 | log_msg = tfm::format(fmt, args...); | 343 | 0 | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 0 | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 0 | } | 348 | 954 | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJA15_ciEEvOSt15source_locationN5BCLog8LogFlagsENS3_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA18_ciEEvOSt15source_locationN5BCLog8LogFlagsENS3_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJN4node13BlockfileTypeENS0_15BlockfileCursorEEEvOSt15source_locationN5BCLog8LogFlagsENS5_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEijEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJibiEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjmEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJimmEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 53 | { | 339 | 53 | if (LogInstance().Enabled()) { | 340 | 0 | std::string log_msg; | 341 | 0 | try { | 342 | 0 | log_msg = tfm::format(fmt, args...); | 343 | 0 | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 0 | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 0 | } | 348 | 53 | } |
_Z22LogPrintFormatInternalIJlllllEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 46 | { | 339 | 46 | if (LogInstance().Enabled()) { | 340 | 0 | std::string log_msg; | 341 | 0 | try { | 342 | 0 | log_msg = tfm::format(fmt, args...); | 343 | 0 | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 0 | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 0 | } | 348 | 46 | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJddmEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJlmlmEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 127k | { | 339 | 127k | if (LogInstance().Enabled()) { | 340 | 68.7k | std::string log_msg; | 341 | 68.7k | try { | 342 | 68.7k | log_msg = tfm::format(fmt, args...); | 343 | 68.7k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 68.7k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 68.7k | } | 348 | 127k | } |
_Z22LogPrintFormatInternalIJdiiddEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 68.7k | { | 339 | 68.7k | if (LogInstance().Enabled()) { | 340 | 68.7k | std::string log_msg; | 341 | 68.7k | try { | 342 | 68.7k | log_msg = tfm::format(fmt, args...); | 343 | 68.7k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 68.7k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 68.7k | } | 348 | 68.7k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJlmEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElEEvOSt15source_locationN5BCLog8LogFlagsENSA_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_lmmEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_jEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJljjEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJjjEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 126k | { | 339 | 126k | if (LogInstance().Enabled()) { | 340 | 126k | std::string log_msg; | 341 | 126k | try { | 342 | 126k | log_msg = tfm::format(fmt, args...); | 343 | 126k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 126k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 126k | } | 348 | 126k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJlbEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJidddddfddddddfddddEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJmmEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEllEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJjmjjmjPKcEEvOSt15source_locationN5BCLog8LogFlagsENS4_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJmdEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJmmjEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 3.23k | { | 339 | 3.23k | if (LogInstance().Enabled()) { | 340 | 1.53k | std::string log_msg; | 341 | 1.53k | try { | 342 | 1.53k | log_msg = tfm::format(fmt, args...); | 343 | 1.53k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 1.53k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 1.53k | } | 348 | 3.23k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEfEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJSt17basic_string_viewIcSt11char_traitsIcEENSt7__cxx1112basic_stringIcS2_SaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENSA_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcS5_S5_EEvOSt15source_locationN5BCLog8LogFlagsENSA_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 1.41M | { | 339 | 1.41M | if (LogInstance().Enabled()) { | 340 | 0 | std::string log_msg; | 341 | 0 | try { | 342 | 0 | log_msg = tfm::format(fmt, args...); | 343 | 0 | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 0 | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 0 | } | 348 | 1.41M | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJA21_cmNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENS9_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJmllEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_S5_EEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJmmllEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_iidmS5_ddjS5_EEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 106k | { | 339 | 106k | if (LogInstance().Enabled()) { | 340 | 52.0k | std::string log_msg; | 341 | 52.0k | try { | 342 | 52.0k | log_msg = tfm::format(fmt, args...); | 343 | 52.0k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 52.0k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 52.0k | } | 348 | 106k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_PKcEEvOSt15source_locationN5BCLog8LogFlagsENSA_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA27_cEEvOSt15source_locationN5BCLog8LogFlagsENS3_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJA18_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidS6_EEvOSt15source_locationN5BCLog8LogFlagsENS9_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 26.4k | { | 339 | 26.4k | if (LogInstance().Enabled()) { | 340 | 26.3k | std::string log_msg; | 341 | 26.3k | try { | 342 | 26.3k | log_msg = tfm::format(fmt, args...); | 343 | 26.3k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 26.3k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 26.3k | } | 348 | 26.4k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJA13_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENS9_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJdddEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 616k | { | 339 | 616k | if (LogInstance().Enabled()) { | 340 | 616k | std::string log_msg; | 341 | 616k | try { | 342 | 616k | log_msg = tfm::format(fmt, args...); | 343 | 616k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 616k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 616k | } | 348 | 616k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJPKciNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENSA_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJjdddddEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 126k | { | 339 | 126k | if (LogInstance().Enabled()) { | 340 | 126k | std::string log_msg; | 341 | 126k | try { | 342 | 126k | log_msg = tfm::format(fmt, args...); | 343 | 126k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 126k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 126k | } | 348 | 126k | } |
_Z22LogPrintFormatInternalIJiddddEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 120k | { | 339 | 120k | if (LogInstance().Enabled()) { | 340 | 120k | std::string log_msg; | 341 | 120k | try { | 342 | 120k | log_msg = tfm::format(fmt, args...); | 343 | 120k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 120k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 120k | } | 348 | 120k | } |
_Z22LogPrintFormatInternalIJPKcbbbbEEvOSt15source_locationN5BCLog8LogFlagsENS4_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 68.0k | { | 339 | 68.0k | if (LogInstance().Enabled()) { | 340 | 68.0k | std::string log_msg; | 341 | 68.0k | try { | 342 | 68.0k | log_msg = tfm::format(fmt, args...); | 343 | 68.0k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 68.0k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 68.0k | } | 348 | 68.0k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJA22_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENS9_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA14_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENS9_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJA11_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_EEvOSt15source_locationN5BCLog8LogFlagsENS9_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 6.58k | { | 339 | 6.58k | if (LogInstance().Enabled()) { | 340 | 6.58k | std::string log_msg; | 341 | 6.58k | try { | 342 | 6.58k | log_msg = tfm::format(fmt, args...); | 343 | 6.58k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 6.58k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 6.58k | } | 348 | 6.58k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJA42_cEEvOSt15source_locationN5BCLog8LogFlagsENS3_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJimmA13_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA42_cEEvOSt15source_locationN5BCLog8LogFlagsENSA_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJA18_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENS9_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 7.07k | { | 339 | 7.07k | if (LogInstance().Enabled()) { | 340 | 7.07k | std::string log_msg; | 341 | 7.07k | try { | 342 | 7.07k | log_msg = tfm::format(fmt, args...); | 343 | 7.07k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 7.07k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 7.07k | } | 348 | 7.07k | } |
_Z22LogPrintFormatInternalIJA18_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_EEvOSt15source_locationN5BCLog8LogFlagsENS9_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 5 | { | 339 | 5 | if (LogInstance().Enabled()) { | 340 | 0 | std::string log_msg; | 341 | 0 | try { | 342 | 0 | log_msg = tfm::format(fmt, args...); | 343 | 0 | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 0 | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 0 | } | 348 | 5 | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJidEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJldEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJA12_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENS9_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 7.57k | { | 339 | 7.57k | if (LogInstance().Enabled()) { | 340 | 0 | std::string log_msg; | 341 | 0 | try { | 342 | 0 | log_msg = tfm::format(fmt, args...); | 343 | 0 | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 0 | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 0 | } | 348 | 7.57k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiS5_dEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_EEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA17_cPKcEEvOSt15source_locationN5BCLog8LogFlagsENS5_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA22_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_EEvOSt15source_locationN5BCLog8LogFlagsENS9_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA22_cmPKcEEvOSt15source_locationN5BCLog8LogFlagsENS5_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEdEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 3.84k | { | 339 | 3.84k | if (LogInstance().Enabled()) { | 340 | 0 | std::string log_msg; | 341 | 0 | try { | 342 | 0 | log_msg = tfm::format(fmt, args...); | 343 | 0 | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 0 | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 0 | } | 348 | 3.84k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJlfmEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJmmNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 556 | { | 339 | 556 | if (LogInstance().Enabled()) { | 340 | 0 | std::string log_msg; | 341 | 0 | try { | 342 | 0 | log_msg = tfm::format(fmt, args...); | 343 | 0 | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 0 | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 0 | } | 348 | 556 | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_iEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJA24_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_PKcEEvOSt15source_locationN5BCLog8LogFlagsENSB_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ _Z22LogPrintFormatInternalIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_bEEvOSt15source_locationN5BCLog8LogFlagsENSA_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 104k | { | 339 | 104k | if (LogInstance().Enabled()) { | 340 | 104k | std::string log_msg; | 341 | 104k | try { | 342 | 104k | log_msg = tfm::format(fmt, args...); | 343 | 104k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 104k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 104k | } | 348 | 104k | } |
_Z22LogPrintFormatInternalIJA16_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEEvOSt15source_locationN5BCLog8LogFlagsENS9_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 58.6k | { | 339 | 58.6k | if (LogInstance().Enabled()) { | 340 | 58.6k | std::string log_msg; | 341 | 58.6k | try { | 342 | 58.6k | log_msg = tfm::format(fmt, args...); | 343 | 58.6k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 58.6k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 58.6k | } | 348 | 58.6k | } |
_Z22LogPrintFormatInternalIJPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEEvOSt15source_locationN5BCLog8LogFlagsENSA_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 104k | { | 339 | 104k | if (LogInstance().Enabled()) { | 340 | 104k | std::string log_msg; | 341 | 104k | try { | 342 | 104k | log_msg = tfm::format(fmt, args...); | 343 | 104k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 104k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 104k | } | 348 | 104k | } |
_Z22LogPrintFormatInternalIJPKcjmEEvOSt15source_locationN5BCLog8LogFlagsENS4_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 104k | { | 339 | 104k | if (LogInstance().Enabled()) { | 340 | 104k | std::string log_msg; | 341 | 104k | try { | 342 | 104k | log_msg = tfm::format(fmt, args...); | 343 | 104k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 104k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 104k | } | 348 | 104k | } |
_Z22LogPrintFormatInternalIJA13_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_EEvOSt15source_locationN5BCLog8LogFlagsENS9_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 68.0k | { | 339 | 68.0k | if (LogInstance().Enabled()) { | 340 | 68.0k | std::string log_msg; | 341 | 68.0k | try { | 342 | 68.0k | log_msg = tfm::format(fmt, args...); | 343 | 68.0k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 68.0k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 68.0k | } | 348 | 68.0k | } |
_Z22LogPrintFormatInternalIJA17_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvOSt15source_locationN5BCLog8LogFlagsENS9_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Line | Count | Source | 338 | 6.13k | { | 339 | 6.13k | if (LogInstance().Enabled()) { | 340 | 6.13k | std::string log_msg; | 341 | 6.13k | try { | 342 | 6.13k | log_msg = tfm::format(fmt, args...); | 343 | 6.13k | } catch (tinyformat::format_error& fmterr) { | 344 | 0 | log_msg = "Error \"" + std::string{fmterr.what()} + "\" while formatting log message: " + fmt.fmt; | 345 | 0 | } | 346 | 6.13k | LogInstance().LogPrintStr(log_msg, std::move(source_loc), flag, level, should_ratelimit); | 347 | 6.13k | } | 348 | 6.13k | } |
Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEhiEEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEhS5_EEvOSt15source_locationN5BCLog8LogFlagsENS8_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ Unexecuted instantiation: _Z22LogPrintFormatInternalIJltEEvOSt15source_locationN5BCLog8LogFlagsENS2_5LevelEbN4util21ConstevalFormatStringIXsZT_EEEDpRKT_ |
349 | | |
350 | 4.40M | #define LogPrintLevel_(category, level, should_ratelimit, ...) LogPrintFormatInternal(std::source_location::current(), category, level, should_ratelimit, __VA_ARGS__) |
351 | | |
352 | | // Log unconditionally. Uses basic rate limiting to mitigate disk filling attacks. |
353 | | // Be conservative when using functions that unconditionally log to debug.log! |
354 | | // It should not be the case that an inbound peer can fill up a user's storage |
355 | | // with debug.log entries. |
356 | 1.90M | #define LogInfo(...) LogPrintLevel_(BCLog::LogFlags::ALL, BCLog::Level::Info, /*should_ratelimit=*/true, __VA_ARGS__) |
357 | 35.4k | #define LogWarning(...) LogPrintLevel_(BCLog::LogFlags::ALL, BCLog::Level::Warning, /*should_ratelimit=*/true, __VA_ARGS__) |
358 | 47.5k | #define LogError(...) LogPrintLevel_(BCLog::LogFlags::ALL, BCLog::Level::Error, /*should_ratelimit=*/true, __VA_ARGS__) |
359 | | |
360 | | // Deprecated unconditional logging. |
361 | 1.78M | #define LogPrintf(...) LogInfo(__VA_ARGS__) |
362 | | |
363 | | // Use a macro instead of a function for conditional logging to prevent |
364 | | // evaluating arguments when logging for the category is not enabled. |
365 | | |
366 | | // Log by prefixing the output with the passed category name and severity level. This can either |
367 | | // log conditionally if the category is allowed or unconditionally if level >= BCLog::Level::Info |
368 | | // is passed. If this function logs unconditionally, logging to disk is rate-limited. This is |
369 | | // important so that callers don't need to worry about accidentally introducing a disk-fill |
370 | | // vulnerability if level >= Info is used. Additionally, users specifying -debug are assumed to be |
371 | | // developers or power users who are aware that -debug may cause excessive disk usage due to logging. |
372 | | #define LogPrintLevel(category, level, ...) \ |
373 | 30.2M | do { \ |
374 | 30.2M | if (LogAcceptCategory((category), (level))) { \ |
375 | 2.31M | bool rate_limit{level >= BCLog::Level::Info}; \ |
376 | 2.31M | LogPrintLevel_(category, level, rate_limit, __VA_ARGS__); \ |
377 | 2.31M | } \ |
378 | 30.2M | } while (0) |
379 | | |
380 | | // Log conditionally, prefixing the output with the passed category name. |
381 | 30.2M | #define LogDebug(category, ...) LogPrintLevel(category, BCLog::Level::Debug, __VA_ARGS__) |
382 | 0 | #define LogTrace(category, ...) LogPrintLevel(category, BCLog::Level::Trace, __VA_ARGS__) |
383 | | |
384 | | #endif // BITCOIN_LOGGING_H |