Skip to content
This repository was archived by the owner on May 2, 2020. It is now read-only.

Logging stacktraces on crashes and errors #22

@MaanooAk

Description

@MaanooAk

Is this left in deliberately?

// install_signal_handlers(); // NOTE: CUSTOM CHANGE FOR LIBVIS (commented out)

Also this if condition could be changed in order to print the stack trace also in error level logs:

if (message.verbosity == Verbosity_FATAL) {
auto st = loguru::stacktrace(stack_trace_skip + 2);

In both cases it would be useful in bug reports to also have the stack trace without any additional actions.

Discovered while debugging...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions