KiCad PCB EDA Suite
Loading...
Searching...
No Matches
LIB_LOGGER Class Reference

#include <lib_logger.h>

Inheritance diagram for LIB_LOGGER:

Public Member Functions

 LIB_LOGGER ()
 
 ~LIB_LOGGER () override
 
void Activate ()
 
void Deactivate ()
 
void Flush () override
 

Private Attributes

wxLog * m_previousLogger
 
bool m_activated
 

Detailed Description

Definition at line 32 of file lib_logger.h.

Constructor & Destructor Documentation

◆ LIB_LOGGER()

LIB_LOGGER::LIB_LOGGER ( )

Definition at line 30 of file lib_logger.cpp.

◆ ~LIB_LOGGER()

LIB_LOGGER::~LIB_LOGGER ( )
override

Definition at line 34 of file lib_logger.cpp.

References Deactivate().

Member Function Documentation

◆ Activate()

void LIB_LOGGER::Activate ( )

Definition at line 39 of file lib_logger.cpp.

References m_activated, and m_previousLogger.

Referenced by LIB_SYMBOL_LIBRARY_MANAGER::Sync().

◆ Deactivate()

void LIB_LOGGER::Deactivate ( )

Definition at line 49 of file lib_logger.cpp.

References Flush(), m_activated, and m_previousLogger.

Referenced by LIB_SYMBOL_LIBRARY_MANAGER::Sync(), and ~LIB_LOGGER().

◆ Flush()

void LIB_LOGGER::Flush ( )
override

Definition at line 60 of file lib_logger.cpp.

References _.

Referenced by Deactivate().

Member Data Documentation

◆ m_activated

bool LIB_LOGGER::m_activated
private

Definition at line 47 of file lib_logger.h.

Referenced by Activate(), and Deactivate().

◆ m_previousLogger

wxLog* LIB_LOGGER::m_previousLogger
private

Definition at line 46 of file lib_logger.h.

Referenced by Activate(), and Deactivate().


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