Qore Logger Module Reference 1.0
Loading...
Searching...
No Matches
Logger::LoggerAppenderStdErr Class Reference

Implements appender writing to a stderr file. More...

#include <Logger.qm.dox.h>

Inherits LoggerAppenderWithLayout.

Public Member Methods

 constructor (*string name, LoggerLayout layout)
 Creates the object. More...
 
 processEventImpl (int type, auto params)
 Processes log events with the file and ignores all other events including open, close. More...
 

Detailed Description

Implements appender writing to a stderr file.

No multi-threading protection is implemented in the class; the stderr instance is reused. Unavailable when Qore::PO_NO_TERMINAL_IO parse option is applied.

Member Function Documentation

◆ constructor()

Logger::LoggerAppenderStdErr::constructor ( *string  name,
LoggerLayout  layout 
)

Creates the object.

Parameters
namethe name of the appender
layoutthe layout for the appender

◆ processEventImpl()

Logger::LoggerAppenderStdErr::processEventImpl ( int  type,
auto  params 
)

Processes log events with the file and ignores all other events including open, close.

Parameters
typethe event type
paramsparameters for the event