Shamrock
2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
shamsys
include
shamsys
stacktrace_log.hpp
Go to the documentation of this file.
1
// -------------------------------------------------------//
2
//
3
// SHAMROCK code for hydrodynamics
4
// Copyright (c) 2021-2026 Timothée David--Cléris <tim.shamrock@proton.me>
5
// SPDX-License-Identifier: CeCILL Free Software License Agreement v2.1
6
// Shamrock is licensed under the CeCILL 2.1 License, see LICENSE for more information
7
//
8
// -------------------------------------------------------//
9
10
#pragma once
11
18
#include <string>
19
20
namespace
shamsys
{
21
26
void
init_backtrace_utilities
(
bool
enable_colors);
27
32
std::string
crash_report_backtrace
();
33
34
}
// namespace shamsys
shamsys
namespace for the system handling
Definition
CommProtocolException.hpp:21
shamsys::init_backtrace_utilities
void init_backtrace_utilities(bool enable_colors)
Initialize the backtrace utilities.
Definition
stacktrace_log.cpp:52
shamsys::crash_report_backtrace
std::string crash_report_backtrace()
Generate a backtrace for the crash report.
Definition
stacktrace_log.cpp:72
Generated on Wed May 13 2026 13:21:49 for Shamrock by
1.9.8