aboutsummaryrefslogtreecommitdiff
path: root/external/easylogging++/easylogging++.cc
Commit message (Collapse)AuthorAgeFilesLines
* logging: Generalize terminal color detectioniamamyth2025-12-291-3/+11
| | | | | | | Assume the terminal supports color codes if TERM ends with `-color` or `-256color`, rather than special-casing a handful of such terminals. Co-authored-by: laanwj <126646+laanwj@users.noreply.github.com>
* Fix logging deadlockj-berman2025-11-111-1/+2
|
* heed NO_COLOR environment variablemoneromooo-monero2023-10-311-0/+5
|
* easylogging++: fix missing logsmoneromooo-monero2021-09-231-3/+4
|
* Merge pull request #7380luigi11112021-06-241-3/+2
|\ | | | | | | 8889f49 easylogging++: fix potential memory corruption (moneromooo-monero)
| * easylogging++: fix potential memory corruptionmoneromooo-monero2021-02-161-3/+2
| | | | | | | | | | | | | | | | | | | | | | The m_typedConfigurations pointer is copied from one object to the next, but deleted in the dtor, leading to potential double free. It is also deleted first thing in the copy ctor, deleting uninitialized memory. This does not seem to actually happen in practice (those functions do not get called), but seems safer that way. Coverity 1446562
* | Merge pull request #7641luigi11112021-04-161-10/+14
|\ \ | | | | | | | | | a16328e easylogging++: in place log sanitization (moneromooo-monero)
| * | easylogging++: in place log sanitizationmoneromooo-monero2021-03-291-10/+14
| |/ | | | | | | saves an object ctor/dtor per log
* / Reduced executable size; reduced call sequence to "allowed" log functionLee Clagett2021-01-161-7/+28
|/
* easylogging++: fix crash with reentrant loggingmoneromooo-monero2020-07-301-0/+11
|
* easylogging++: sanitize log payloadmoneromooo-monero2020-05-241-0/+96
| | | | | | Some of it might be coming from untrusted sources Reported by itsunixiknowthis
* easylogging++: add screen.xterm-256color to the "allow colour" TERM listmoneromooo-monero2019-10-261-1/+1
|
* easylogging++: windows does not need terminal colour supportmoneromooo-monero2019-10-241-0/+2
|
* Merge pull request #5927luigi11112019-10-081-3/+8
|\ | | | | | | 6d378d9 easylogging++: always omit ANSI codes when colour is not supported (moneromooo-monero)
| * easylogging++: always omit ANSI codes when colour is not supportedmoneromooo-monero2019-09-241-3/+8
| |
* | easylogging++: split strings manuallymoneromooo-monero2019-09-241-2/+13
|/ | | | Avoids cmake skullduggery
* Properly format multiline logsmoneromooo-monero2019-09-161-23/+107
| | | | | As a side effect, colouring on Windows should now work regardless of version
* easylogging++: weed out most calls to allowed without lockingmoneromooo-monero2019-08-191-15/+22
|
* Merge pull request #5442Riccardo Spagni2019-04-161-4/+21
|\ | | | | | | 428249c5 easylogging++: minimal stdout logging format (moneromooo-monero)
| * easylogging++: minimal stdout logging formatmoneromooo-monero2019-04-141-4/+21
| | | | | | | | | | It's a bit of a hack, but doing it right would need a lot of changes to the easylogging++ source.
* | easylogging++: update to v9.96.7moneromooo-monero2019-04-071-9/+14
|/
* Merge pull request #4950Riccardo Spagni2019-01-061-0/+19
|\ | | | | | | 68f045de easylogging++: check allowed categories before logging (moneromooo-monero)
| * easylogging++: check allowed categories before loggingmoneromooo-monero2018-12-071-0/+19
| |
* | Merge pull request #4936luigi11112018-12-311-8/+7
|\ \ | | | | | | | | | 7d9aeb7 easylogging++: avoid uneeded temporary std::string object (moneromooo-monero)
| * | easylogging++: avoid uneeded temporary std::string objectmoneromooo-monero2018-12-031-8/+7
| |/
* | Merge pull request #4925Riccardo Spagni2018-12-121-0/+1
|\ \ | | | | | | | | | | | | | | | ab783b17 easylogging++: ensure logger is initialized before main (moneromooo-monero) 9b69a0ae daemon: print monero version at startup when calling a detached daemon (moneromooo-monero) 4d71d463 mlocker: remove early page size log (moneromooo-monero)
| * | easylogging++: ensure logger is initialized before mainmoneromooo-monero2018-11-301-0/+1
| |/
* | easylogging++: faster access to loggingmoneromooo-monero2018-11-271-0/+6
| | | | | | | | | | | | | | | | Turns out getting the global shared_ptr hits the profile, and passing it around still keeps it at close to ~1% CPU, which is too much for mostly silent logging. Leak the object instead, which is even safer for late logging.
* | Revert "easylogging++: make the logger handle early/late logging"moneromooo-monero2018-11-271-12/+0
|/ | | | This reverts commit 7f8bdeb35c73c70b2b65e30aa2a1cb93696355b3.
* easylogging++: update to latest upstream (v9.96.5)moneromooo-monero2018-11-061-88/+217
|
* easylogging++: remove std::deque usagemoneromooo-monero2018-10-231-1/+7
| | | | It's not actually needed for this use, and saves a STL header
* Merge pull request #4459Riccardo Spagni2018-09-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | bcf3f6af fuzz_tests: catch unhandled exceptions (moneromooo-monero) 3ebd05d4 miner: restore stream flags after changing them (moneromooo-monero) a093092e levin_protocol_handler_async: do not propagate exception through dtor (moneromooo-monero) 1eebb82b net_helper: do not propagate exceptions through dtor (moneromooo-monero) fb6a3630 miner: do not propagate exceptions through dtor (moneromooo-monero) 2e2139ff epee: do not propagate exception through dtor (moneromooo-monero) 0749a8bd db_lmdb: do not propagate exceptions in dtor (moneromooo-monero) 1b0afeeb wallet_rpc_server: exit cleanly on unhandled exceptions (moneromooo-monero) 418a9936 unit_tests: catch unhandled exceptions (moneromooo-monero) ea7f9543 threadpool: do not propagate exceptions through the dtor (moneromooo-monero) 6e855422 gen_multisig: nice exit on unhandled exception (moneromooo-monero) 53df2deb db_lmdb: catch error in mdb_stat calls during migration (moneromooo-monero) e67016dd blockchain_blackball: catch failure to commit db transaction (moneromooo-monero) 661439f4 mlog: don't remove old logs if we failed to rename the current file (moneromooo-monero) 5fdcda50 easylogging++: test for NULL before dereference (moneromooo-monero) 7ece1550 performance_test: fix bad last argument calling add_arg (moneromooo-monero) a085da32 unit_tests: add check for page size > 0 before dividing (moneromooo-monero) d8b1ec8b unit_tests: use std::shared_ptr to shut coverity up about leaks (moneromooo-monero) 02563bf4 simplewallet: top level exception catcher to print nicer messages (moneromooo-monero) c57a65b2 blockchain_blackball: fix shift range for 32 bit archs (moneromooo-monero)
* easylogging++: make the logger handle early/late loggingmoneromooo-monero2018-07-151-0/+12
|
* easylogging++: cached allowed categoriesmoneromooo-monero2018-04-251-1/+10
| | | | It turns out this can be fairly heavy when logging a lot
* call _exit instead of abort in release modemoneromooo-monero2018-02-011-0/+6
| | | | | Avoids cores being created, as they're nowadays often piped to some call home system
* easylogging++: avoid buffer underflowmoneromooo-monero2017-12-181-2/+3
|
* easylogging: show the 'no stack trace' warning only onceston1th2017-12-091-0/+1
| | | | If execinfo.h is not available, output the stack trace warning only once, so we don't spam the build logs with it.
* easylogging++: add categories gettermoneromooo-monero2017-09-221-1/+15
|
* easylogging++: log timestamps in GMT for privacymoneromooo-monero2017-05-281-3/+3
|
* Merge pull request #1997Riccardo Spagni2017-05-051-0/+1
|\ | | | | | | 5d86c9f4 easylogging++: default to creating categories by default (moneromooo-monero)
| * easylogging++: default to creating categories by defaultmoneromooo-monero2017-04-221-0/+1
| | | | | | | | | | | | This avoids error spews from easylogging++ when we try to log something before easylogging is initialized, which can happen when errors happen at command line parsing time
* | Easylogging: remove invalid static in function member definitionMoroccanMalinois2017-04-121-1/+1
|/
* easylogging++: allow clipping a common filename prefixmoneromooo-monero2017-04-101-3/+15
|
* easylogging++: add file-only logsmoneromooo-monero2017-04-101-9/+11
|
* eayslogging++: Fix bad memory access before opening any filesmoneromooo-monero2017-04-101-0/+1
|
* easylogging++: avoid creating directory/filename for the builtin default log ↵moneromooo-monero2017-04-101-0/+2
| | | | file
* easylogging++: add categoriesmoneromooo-monero2017-04-101-1/+102
|
* update easylogging++ to latest upstreammoneromooo-monero2017-04-101-0/+2979