8#include "Arp/System/Commons/Diagnostics/Logging/LogLevel.hpp"
16namespace Arp {
namespace System {
namespace Commons {
namespace Diagnostics {
namespace Logging
27 using Impl = Log4Arp::LogSettings;
31 LogSettings(LogLevel logLevel,
bool consoleLogging =
true,
const String& logFile = String::Empty,
const String& layoutPattern = String::Empty);
41 bool HasRootLogLevel(
void)
const;
42 bool HasIniFile(
void)
const;
43 bool HasLogFile(
void)
const;
44 LogLevel GetRootLogLevel(
void)
const;
45 String GetIniFile(
void)
const;
46 String GetLogFile(
void)
const;
47 String GetLayoutPattern(
void)
const;
48 bool IsConsoleLoggingEnabled(
void)
const;
52 const Impl& GetImpl(
void)
const;
Adapter class to implement PImpl idiom.
Definition: PimplPtr.hxx:15
This class represents the Arp String. The implementation is based on std::string.
Definition: String.hpp:39
This class is used to compound all log settings of the application for initializing the log engine.
Definition: LogSettings.hpp:25
~LogSettings(void)
Default destructor.
LogSettings(LogSettings &&arg) noexcept
Default move constructor.
LogSettings & operator=(const LogSettings &arg)
Default copy-assignment operator.
LogSettings(const LogSettings &arg)
Default copy constructor.
LogSettings & operator=(LogSettings &&arg) noexcept
Default move-assignment operator.
Root namespace for the PLCnext API