The Battle for Wesnoth  1.17.0-dev
Public Member Functions | Public Attributes | List of all members
lua_kernel_base::command_log Struct Reference

Log implementation. More...

#include <lua_kernel_base.hpp>

Public Member Functions

 command_log ()
command_logoperator<< (const std::string &str)
command_logoperator<< (char const *str)

Public Attributes

std::stringstream log_
external_log_type external_log_

Detailed Description

Log implementation.

Definition at line 85 of file lua_kernel_base.hpp.

Constructor & Destructor Documentation

◆ command_log()

lua_kernel_base::command_log::command_log ( )

Definition at line 90 of file lua_kernel_base.hpp.

Member Function Documentation

◆ operator<<() [1/2]

command_log& lua_kernel_base::command_log::operator<< ( const std::string &  str)

Definition at line 95 of file lua_kernel_base.hpp.

References external_log_.

◆ operator<<() [2/2]

command_log& lua_kernel_base::command_log::operator<< ( char const *  str)

Definition at line 103 of file lua_kernel_base.hpp.

References external_log_.

Member Data Documentation

◆ external_log_

external_log_type lua_kernel_base::command_log::external_log_

◆ log_

std::stringstream lua_kernel_base::command_log::log_

Definition at line 87 of file lua_kernel_base.hpp.

Referenced by lua_kernel_base::clear_log(), and lua_kernel_base::get_log().

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