AsyncFw 1.2
Async Framework is c++ runtime with timers, poll notifiers, sockets, coroutines, etc.
 
Loading...
Searching...
No Matches
console_msg.hpp
1/*
2Copyright (c) 2026 Alexandr Kuzmuk
3
4This file is part of the AsyncFw project. Licensed under the MIT License.
5See {Link: LICENSE file https://mit-license.org} in the project root for full license information.
6*/
7
8#pragma once
9
10#include <string>
11namespace AsyncFw {
12void console_msg_(const std::string &);
13}
14
15#ifndef LS_NO_WARNING
16 #define console_msg(x, y) AsyncFw::console_msg_(std::string(x) + ": " + y)
17#else
18 #define console_msg(x, y) \
19 if constexpr (0) (void)(std::string(x) + y)
20#endif