mirror of
https://github.com/monero-project/monero.git
synced 2025-05-02 08:36:08 -04:00
Merge pull request #1604
a854cec3
Make stack trace show up in log file with default settings (moneromooo-monero)
This commit is contained in:
commit
e12f073f65
2 changed files with 3 additions and 3 deletions
|
@ -38,7 +38,7 @@
|
|||
#undef MONERO_DEFAULT_LOG_CATEGORY
|
||||
#define MONERO_DEFAULT_LOG_CATEGORY "stacktrace"
|
||||
|
||||
#define ST_LOG(x) CERROR(el::base::Writer,el::base::DispatchAction::FileOnlyLog,MONERO_DEFAULT_LOG_CATEGORY) << x
|
||||
#define ST_LOG(x) CINFO(el::base::Writer,el::base::DispatchAction::FileOnlyLog,MONERO_DEFAULT_LOG_CATEGORY) << x
|
||||
|
||||
// from http://stackoverflow.com/questions/11665829/how-can-i-print-stack-trace-for-caught-exceptions-in-c-code-injection-in-c
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue