NeoN
A framework for CFD software
Loading...
Searching...
No Matches
info.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2023 - 2025 NeoN authors
2//
3// SPDX-License-Identifier: MIT
4
5#pragma once
6
12#if defined(NF_DEBUG) || defined(NF_DEBUG_INFO)
13#define NF_DEBUG_MESSAGING
14#endif
15
21#define NF_INFO(message) std::cout << message << std::endl
22
29#ifdef NF_DEBUG_MESSAGING
30#define NF_DINFO(message) \
31 std::cout << std::endl << "[NF][" << __FILE__ << "::" << __LINE__ << "]: "; \
32 NF_INFO(message)
33#else
34#define NF_DINFO(message) ((void)0)
35#endif
36
41#ifdef NF_DEBUG
42#define NF_PING() NF_DINFO("PING")
43#endif