Open 3D Engine AzFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzFramework::LogComponent Class Reference

#include <LoggingComponent.h>

Inherits AZ::Component, and AZ::Debug::TraceMessageBus::Handler.

Public Member Functions

void Init () override
 
void Activate () override
 
void Deactivate () override
 
bool OnPrintf (const char *window, const char *message) override
 
bool OnAssert (const char *message) override
 
bool OnException (const char *message) override
 
bool OnError (const char *window, const char *message) override
 
bool OnWarning (const char *window, const char *message) override
 
virtual void OutputMessage (LogFile::SeverityLevel severity, const char *window, const char *message)
 
void SetLogFileBaseName (const char *baseName)
 
void SetRollOverLength (AZ::u64 rolloverLength)
 
void SetMachineReadable (bool newValue)
 
const char * GetLogFileBaseName ()
 
AZ::u64 GetRollOverLength ()
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Detailed Description

LogComponent LogComponent listens to AZ trace messages and forwards them to a log file


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