8 #include "Arp/System/Commons/Text/Formatter.hxx" 14 namespace Arp {
namespace System {
namespace Commons
20 template<
typename... Args>
static void Write(
const char* pFormat,
const Args& ... args);
21 template<
typename... Args>
static void WriteLine(
const char* pFormat,
const Args& ... args);
24 static std::mutex consoleMutex;
29 template<
typename... Args>
30 inline void Console::WriteLine(
const char* pFormat,
const Args& ... args)
32 std::lock_guard<std::mutex> lock(consoleMutex);
34 std::cout << Text::Formatter::FormatCommon(pFormat, args...) << std::endl;
38 template<
typename... Args>
39 inline void Console::Write(
const char* pFormat,
const Args& ... args)
41 std::lock_guard<std::mutex> lock(consoleMutex);
43 std::cout << Text::Formatter::FormatCommon(pFormat, args...);
Definition: Console.hpp:17
Namespace of the C++ standard library
Root namespace for the PLCnext API
System components used by the System, Device, Plc or Io domains.