log4shib::...ugAppender(3)
β¨ log4shib::Win32DebugAppender β¨
okay so bestie, you've stumbled into the log4shib docs (that's the manual name btw, a library β you're welcome π) and this particular page is all about log4shib::Win32DebugAppender. And likeβ¦ Win32DebugAppender simply sends the log message to the default system debugger on Win32 systems. That's literally the whole vibe. π
π SYNOPSIS π
Include it like this, no cap:
#include <Win32DebugAppender.hh>
It inherits log4shib::LayoutAppender. Family tree time π§:
π Public Member Functions
Win32DebugAppender(const std::string &name)β Constructor, bestie.virtual ~Win32DebugAppender()β Destructor.virtual void close()β Close method. Slay.
πΈ Public Member Functions inherited from log4shib::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 theLayoutfor this appender.
π¦ Public Member Functions inherited from log4shib::AppenderSkeleton
virtual ~AppenderSkeleton()β Destructor forAppenderSkeleton.virtual void doAppend(const LoggingEvent &event)β Log in Appender specific way.virtual bool reopen()β Reopens the output destination of thisAppender, e.g.virtual void setThreshold(Priority::Value priority)β Set the threshold priority of thisAppender.virtual Priority::Value getThreshold()β Get the threshold priority of thisAppender.virtual void setFilter(Filter *filter)β Set aFilterfor this appender.virtual Filter * getFilter()β Get theFilterfor this appender.
π Public Member Functions inherited from log4shib::Appender
virtual ~Appender()β Destructor forAppender.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. Main character energy fr fr.
β¨ Protected Member Functions inherited from log4shib::LayoutAppender
Layout & _getLayout()β Return the layout of the appender.
π
Protected Member Functions inherited from log4shib::AppenderSkeleton
AppenderSkeleton(const std::string &name)β Constructor forAppenderSkeleton.
π«Ά Protected Member Functions inherited from log4shib::Appender
Appender(const std::string &name)β Constructor forAppender.
π Additional Inherited Members
- Public Types inherited from
log4shib::LayoutAppendertypedef BasicLayout DefaultLayoutType
- Static Public Member Functions inherited from
log4shib::Appenderstatic Appender * getAppender(const std::string &name)β Get a pointer to an exitsingAppender.static bool reopenAll()β Callreopen()on all existingAppenders.static void closeAll()β Callreopen()on all existingAppenders.
π Detailed Description π
Win32DebugAppender simply sends the log message to the default system debugger on Win32 systems. Periodt.
This is useful for users of MSVC and Borland because the log messages will show up in the debugger window. Obsessed, honestly. π
NB: This class is only available on Win32 platforms. So if you're on anything elseβ¦ it's giving not for you, bestie. π
π§ Constructor & Destructor Documentation π§
log4shib::Win32DebugAppender::Win32DebugAppender (const std::string & name)
Constructor.
Parameters
nameβ Name used by the base classes only.
log4shib::Win32DebugAppender::~Win32DebugAppender () [virtual]
Destructor.
π₯ Member Function Documentation π₯
void log4shib::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 log4shib::AppenderSkeleton.
void log4shib::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. Lowkey the easiest job in the whole library tbh. π
Implements log4shib::AppenderSkeleton.
β Author β
Generated automatically by Doxygen for log4shib from the source code. (Not a human author, just robot vibes π€β¨)
okay that's the whole page, bestie β you ate that reading session fr fr π«Ά this was Version 2.0.1 of the log4shib docs, dated with the source page footer label log4shib::...ugAppender(3), brought to you by the one and only log4shib π bye bye, go log something iconic πΈ
π¦ where this page comes from
- opensuse-leap 16.0: liblog4shib-devel 2.0.1-160000.3.2 Β· LGPL-2.1-only
- opensuse-leap 16.0: liblog4shib-devel 2.0.1-160000.3.2 Β· LGPL-2.1-only
- opensuse-leap 16.0: liblog4shib-devel 2.0.1-160000.3.2 Β· LGPL-2.1-only
- opensuse-leap 16.0: liblog4shib-devel 2.0.1-160000.3.2 Β· 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