LOG4CPP::WIN32DEBUGAPPENDER(3)
π NAME π
okay so bestie, this is the manual page for log4cpp::Win32DebugAppender(3) from the Library Functions Manual β and itβs literally all about log4cpp::Win32DebugAppender, which simply sends the log message to the default system debugger on Win32 systems. slay.
β¨ SYNOPSIS β¨
#include <Win32DebugAppender.hh>
Inherits log4cpp::LayoutAppender.
π«Ά Public Member Functions
Win32DebugAppender (const std::string &name)β Constructor.virtual ~Win32DebugAppender ()β Destructor.virtual void close ()β Close method.
Public Member Functions inherited from log4cpp::LayoutAppender
LayoutAppender (const std::string &name)virtual ~LayoutAppender ()virtual bool requiresLayout () constβ Check if the appender requires a layout.virtual void setLayout (Layout *layout=NULL)β Set the Layout for this appender.
Public Member Functions inherited from log4cpp::AppenderSkeleton
virtual ~AppenderSkeleton ()β Destructor for AppenderSkeleton.virtual void doAppend (const LoggingEvent &event)β Log in Appender specific way.virtual bool reopen ()β Reopens the output destination of this Appender, e.g.virtual void setThreshold (Priority::Value priority)β Set the threshold priority of this Appender.virtual Priority::Value getThreshold ()β Get the threshold priority of this Appender.virtual void setFilter (Filter *filter)β Set a Filter for this appender.virtual Filter * getFilter ()β Get the Filter for this appender.
Public Member Functions inherited from log4cpp::Appender
virtual ~Appender ()β Destructor for Appender.const std::string & getName () constβ Get the name of this appender.
π‘οΈ Protected Member Functions
virtual void _append (const LoggingEvent &event)β Method that does the actual work.
Protected Member Functions inherited from log4cpp::LayoutAppender
Layout & _getLayout ()β Return the layout of the appender.
Protected Member Functions inherited from log4cpp::AppenderSkeleton
AppenderSkeleton (const std::string &name)β Constructor for AppenderSkeleton.
Protected Member Functions inherited from log4cpp::Appender
Appender (const std::string &name)β Constructor for Appender.
π Additional Inherited Members
Public Types inherited from log4cpp::LayoutAppender
typedef BasicLayout DefaultLayoutType
Static Public Member Functions inherited from log4cpp::Appender
static Appender * getAppender (const std::string &name)β Get a pointer to an existing Appender.static bool reopenAll ()β Callreopen()on all existing Appenders.static void closeAll ()β Callreopen()on all existing Appenders.
πΈ Detailed Description πΈ
Win32DebugAppender simply sends the log message to the default system debugger on Win32 systems.
This is useful for users of MSVC and Borland because the log messages will show up in the debugger window.
NB: This class is only available on Win32 platforms. no cap, thatβs the whole boundary π
π Constructor & Destructor Documentation π
log4cpp::Win32DebugAppender::Win32DebugAppender (const std::string & name)
Constructor.
Parameters
- name β Name used by the base classes only.
log4cpp::Win32DebugAppender::~Win32DebugAppender () [virtual]
Destructor.
π₯ Member Function Documentation π₯
void log4cpp::Win32DebugAppender::_append (const LoggingEvent & event) [protected], [virtual]
Method that does the actual work. In this case, it simply sets up the layout and calls the OutputDebugString API.
Parameters
- event β Event for which we are logging.
Implements log4cpp::AppenderSkeleton.
void log4cpp::Win32DebugAppender::close () [virtual]
Close method. This is called by the framework, but there is nothing to do for the OutputDebugString API, so it simply returns.
Implements log4cpp::AppenderSkeleton.
βοΈ Author βοΈ
Generated automatically by Doxygen for log4cpp from the source code.
okay bye bestie π«Ά this footer energy is source log4cpp, Version 1.1, page log4cpp::W...bugAppender(3) β and ngl thereβs no date listed in the footer, but the vibe is still iconic π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: log4cpp-devel 1.1.4-bp160.1.12 Β· LGPL-2.1-only
- opensuse-leap 16.0: log4cpp-devel 1.1.4-bp160.1.12 Β· LGPL-2.1-only
- opensuse-leap 16.0: log4cpp-devel 1.1.4-bp160.1.12 Β· LGPL-2.1-only
- opensuse-leap 16.0: log4cpp-devel 1.1.4-bp160.1.12 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms