8#include "Arp/System/Commons/Text/Formatter.hxx"
12namespace Arp {
namespace System {
namespace Commons
18 template<
typename... Args>
static void Write(
const char* pFormat,
const Args& ... args);
19 template<
typename... Args>
static void WriteLine(
const char* pFormat,
const Args& ... args);
22 static std::mutex consoleMutex;
27template<
typename... Args>
28inline void Console::WriteLine(
const char* pFormat,
const Args& ... args)
30 std::lock_guard<std::mutex> lock(consoleMutex);
36template<
typename... Args>
37inline void Console::Write(
const char* pFormat,
const Args& ... args)
39 std::lock_guard<std::mutex> lock(consoleMutex);
Definition: Console.hpp:16
static String FormatCommon(const String &format, const Args &... args)
Uses common CLR syntax (.Net) for the placeholders in the format string like '{0}'.
Definition: Formatter.hxx:39
@ System
System components used by the System, Device, Plc or Io domains.
Root namespace for the PLCnext API