C++ TargetRTS
All Classes Functions Variables Enumerations Enumerator Pages
Classes | Static Public Member Functions | Static Public Attributes | List of all members
Log Struct Reference

Represents the predefined "Log" protocol. More...

#include <RTLog.h>

Classes

class  Base
 Represents a log port. More...
 

Static Public Member Functions

static std::ostream & endl (std::ostream &os)
 Insert the new line and flush the buffer.
 
static std::ostream & lock (std::ostream &os)
 Lock the Log::out or Log::err log statement.
 
static std::ostream & unlock (std::ostream &os)
 Unlock the Log::out or Log::err log statement.
 

Static Public Attributes

static Base out
 
static Base err
 

Detailed Description

Represents the predefined "Log" protocol.

Member Function Documentation

◆ endl()

static std::ostream & Log::endl ( std::ostream &  os)
static

Insert the new line and flush the buffer.

This function is similar to std::endl

Parameters
[in]osOutput stream to the log.

◆ lock()

static std::ostream & Log::lock ( std::ostream &  os)
static

Lock the Log::out or Log::err log statement.

Parameters
[in]osOutput stream to the log.

◆ unlock()

static std::ostream & Log::unlock ( std::ostream &  os)
static

Unlock the Log::out or Log::err log statement.

Parameters
[in]osOutput stream to the log.

The documentation for this struct was generated from the following file: