DOLFINx 0.12.0.0
DOLFINx C++
Loading...
Searching...
No Matches
log.h
1// Copyright (C) 2019-2026 Chris Richardson and Paul T. Kühner
2//
3// This file is part of DOLFINx (https://www.fenicsproject.org)
4//
5// SPDX-License-Identifier: LGPL-3.0-or-later
6
7#pragma once
8
9#include <spdlog/spdlog.h>
10
11namespace dolfinx
12{
13
25void init_logging(int argc, char* argv[]);
26
31auto logger() -> spdlog::logger&;
32
33} // namespace dolfinx
Top-level namespace.
Definition defines.h:12
void init_logging(int argc, char *argv[])
Optional initialisation of the logging backend.
Definition log.cpp:15
auto logger() -> spdlog::logger &
Dolfinx's logger.
Definition log.cpp:24