Note: this is documentation for an old release. View the latest documentation at docs.fenicsproject.org/dolfinx/v0.9.0/cpp/doxygen/d7/d7f/log_8h_source.html
DOLFINx 0.8.0
DOLFINx C++ interface
Loading...
Searching...
No Matches
log.h
1// Copyright (C) 2019 Chris Richardson
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#define LOGURU_WITH_STREAMS 1
10#define LOGURU_REPLACE_GLOG 1
11
12#include "loguru.hpp"
13
14namespace dolfinx
15{
16
32void init_logging(int argc, char* argv[]);
33
34} // 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:12