The Battle for Wesnoth  1.19.5+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 ( )
inline

Definition at line 90 of file lua_kernel_base.hpp.

Member Function Documentation

◆ operator<<() [1/2]

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

Definition at line 103 of file lua_kernel_base.hpp.

References external_log_, and log_.

◆ operator<<() [2/2]

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

Definition at line 95 of file lua_kernel_base.hpp.

References external_log_, and 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_

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