AlpacaLibary  1.63
A closed source C++ bot for OSRS
Logger Class Reference

#include <Logger.hpp>

Inheritance diagram for Logger:

Public Member Functions

 Logger (const std::string &Prefix, bool Enabled=true)
 
 Logger (std::string(*Func)(), bool Enabled=true)
 
void SetEnabled (bool Toggle)
 
bool IsEnabled () const
 
Loggeroperator++ ()
 
Loggeroperator-- ()
 
Loggeroperator++ (int)
 
Loggeroperator-- (int)
 
virtual std::streambuf::int_type overflow (std::streambuf::int_type Char=std::streambuf::traits_type::eof())
 
 ~Logger ()
 

Detailed Description

Definition at line 7 of file Logger.hpp.

Constructor & Destructor Documentation

◆ Logger() [1/2]

Logger::Logger ( const std::string &  Prefix,
bool  Enabled = true 
)

◆ Logger() [2/2]

Logger::Logger ( std::string(*)()  Func,
bool  Enabled = true 
)

◆ ~Logger()

Logger::~Logger ( )

Member Function Documentation

◆ IsEnabled()

bool Logger::IsEnabled ( ) const

◆ operator++() [1/2]

Logger& Logger::operator++ ( )

◆ operator++() [2/2]

Logger& Logger::operator++ ( int  )

◆ operator--() [1/2]

Logger& Logger::operator-- ( )

◆ operator--() [2/2]

Logger& Logger::operator-- ( int  )

◆ overflow()

virtual std::streambuf::int_type Logger::overflow ( std::streambuf::int_type  Char = std::streambuf::traits_type::eof())
virtual

◆ SetEnabled()

void Logger::SetEnabled ( bool  Toggle)

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