PLCnext API Documentation 25.0.2.69
Public Types | Public Member Functions | List of all members
Arp::System::Commons::Diagnostics::Logging::LogEvent Class Reference

This class is used to forward log events from LogEngine. More...

#include <LogEvent.hpp>

Public Types

using Impl = const Log4Arp::LogEvent
 

Public Member Functions

 LogEvent (const Impl &logEvent)
 Constructs an LogEvent instance. More...
 
 LogEvent (const LogEvent &arg)
 Default copy constructor.
 
 LogEvent (LogEvent &&arg) noexcept
 Default move constructor.
 
LogEventoperator= (const LogEvent &arg)=delete
 
LogEventoperator= (LogEvent &&arg) noexcept=delete
 
 ~LogEvent (void)
 Default destructor.
 
DateTime GetTimestamp (void) const
 
LogLevel GetSeverity (void) const
 
String GetLoggerName (void) const
 
String GetMessage (void) const
 
Impl & GetImpl (void)
 For internal use only.
 
const Impl & GetImpl (void) const
 

Detailed Description

This class is used to forward log events from LogEngine.

This class is used to forward log events from delegates which are subscribed by LogManager::AddLogEventDelegate

Constructor & Destructor Documentation

◆ LogEvent()

Arp::System::Commons::Diagnostics::Logging::LogEvent::LogEvent ( const Impl &  logEvent)
explicit

Constructs an LogEvent instance.

Parameters
logEventThe internal log event to be adapted.

The documentation for this class was generated from the following files: