diff options
| author | Jeffrey Czyz <[email protected]> | 2019-10-22 10:06:02 -0700 |
|---|---|---|
| committer | Jeffrey Czyz <[email protected]> | 2019-10-22 13:44:51 -0700 |
| commit | 8734c856f85cb506fa97596383dd7e7b9edd7e03 (patch) | |
| tree | aa176beeb597fdb711ebca78f3e3a545beb4c9d5 /src/httpserver.h | |
| parent | Merge #16557: [wallet] restore coinbase and confirmed/conflicted checks in Su... (diff) | |
| download | discoin-8734c856f85cb506fa97596383dd7e7b9edd7e03.tar.xz discoin-8734c856f85cb506fa97596383dd7e7b9edd7e03.zip | |
Replace the LogPrint function with a macro
Calling LogPrint with a category that is not enabled results in
evaluating the remaining function arguments, which may be arbitrarily
complex (and possibly expensive) expressions. Defining LogPrint as a
macro prevents this unnecessary expression evaluation.
This is a partial revert of #14209. The decision to revert is discussed
in #16688, which adds verbose logging for validation event notification.
Diffstat (limited to 'src/httpserver.h')
0 files changed, 0 insertions, 0 deletions