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

Implements appender writing to a stdout 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 stdout file.

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

Member Function Documentation

◆ constructor()

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

Creates the object.

Parameters
namethe name of the appender
layoutthe layout for the appender

◆ processEventImpl()

Logger::LoggerAppenderStdOut::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