AlpacaLibary  1.63
A closed source C++ bot for OSRS
Debug.hpp File Reference

Go to the source code of this file.

Namespaces

 Debug
 

Macros

#define DEBUG_VERBOSE_START   Debug::Verbose++ << __PRETTY_FUNCTION__ << " > Started" << std::endl
 
#define DEBUG_VERBOSE_SUCCESS   --Debug::Verbose << __PRETTY_FUNCTION__ << " > Succeeded > "
 
#define DEBUG_VERBOSE_SUCCESS_NOINFO   --Debug::Verbose << __PRETTY_FUNCTION__ << " > Succeeded" << std::endl
 
#define DEBUG_VERBOSE_SUCCESS_EOF   --Debug::Verbose << " > Succeeded > Reached end of function" << std::endl
 
#define DEBUG_VERBOSE_FAIL   --Debug::Verbose << __PRETTY_FUNCTION__ << " > Failed > "
 
#define DEBUG_VERBOSE_FAIL_NOINFO   --Debug::Verbose << __PRETTY_FUNCTION__ << " > Failed" << std::endl;
 
#define DEBUG_VERBOSE_FAIL_EOF   --Debug::Verbose << __PRETTY_FUNCTION__ << " > Failed > Reached end of function" << std::endl
 
#define DEBUG_VERBOSE_LOG   Debug::Verbose << __PRETTY_FUNCTION__ << " > "
 
#define DEBUG_VERBOSE_LOG_SUCCESS   Debug::Verbose << __PRETTY_FUNCTION__ << " > Succeeded > "
 
#define DEBUG_VERBOSE_LOG_SUCCESS_NOINFO   Debug::Verbose << __PRETTY_FUNCTION__ << " > Succeeded" << std::endl
 
#define DEBUG_VERBOSE_LOG_SUCCESS_EOF   Debug::Verbose << __PRETTY_FUNCTION__ << " > Succeeded > Reached end of function" << std::endl
 
#define DEBUG_VERBOSE_LOG_FAIL   Debug::Verbose << __PRETTY_FUNCTION__ << " > Failed > "
 
#define DEBUG_VERBOSE_LOG_FAIL_NOINFO   Debug::Verbose << __PRETTY_FUNCTION__ << " > Failed" << std::endl
 
#define DEBUG_VERBOSE_LOG_FAIL_EOF   Debug::Verbose << __PRETTY_FUNCTION__ << " > Failed > Reached end of function" << std::endl
 

Functions

void Debug::ShowConsole ()
 
void Debug::HideConsole ()
 
void Debug::SetVerbose (bool Toggle)
 
void Debug::EnableInput ()
 
void Debug::DisableInput ()
 
void Debug::Clear ()
 
void Debug::Screenshot (const std::string &Path)
 
void Debug::SetSleepMultiplier (std::int32_t Multiplier)
 
void Debug::EnableBlit ()
 
void Debug::DisableBlit ()
 

Variables

Logger Debug::Info
 
Logger Debug::Verbose
 
Logger Debug::Warning
 
Logger Debug::Error
 
Logger Debug::Fatal
 
Logger Debug::Internal
 
Logger Debug::Paint
 

Macro Definition Documentation

◆ DEBUG_VERBOSE_FAIL

#define DEBUG_VERBOSE_FAIL   --Debug::Verbose << __PRETTY_FUNCTION__ << " > Failed > "

Definition at line 10 of file Debug.hpp.

◆ DEBUG_VERBOSE_FAIL_EOF

#define DEBUG_VERBOSE_FAIL_EOF   --Debug::Verbose << __PRETTY_FUNCTION__ << " > Failed > Reached end of function" << std::endl

Definition at line 12 of file Debug.hpp.

◆ DEBUG_VERBOSE_FAIL_NOINFO

#define DEBUG_VERBOSE_FAIL_NOINFO   --Debug::Verbose << __PRETTY_FUNCTION__ << " > Failed" << std::endl;

Definition at line 11 of file Debug.hpp.

◆ DEBUG_VERBOSE_LOG

#define DEBUG_VERBOSE_LOG   Debug::Verbose << __PRETTY_FUNCTION__ << " > "

Definition at line 14 of file Debug.hpp.

◆ DEBUG_VERBOSE_LOG_FAIL

#define DEBUG_VERBOSE_LOG_FAIL   Debug::Verbose << __PRETTY_FUNCTION__ << " > Failed > "

Definition at line 18 of file Debug.hpp.

◆ DEBUG_VERBOSE_LOG_FAIL_EOF

#define DEBUG_VERBOSE_LOG_FAIL_EOF   Debug::Verbose << __PRETTY_FUNCTION__ << " > Failed > Reached end of function" << std::endl

Definition at line 20 of file Debug.hpp.

◆ DEBUG_VERBOSE_LOG_FAIL_NOINFO

#define DEBUG_VERBOSE_LOG_FAIL_NOINFO   Debug::Verbose << __PRETTY_FUNCTION__ << " > Failed" << std::endl

Definition at line 19 of file Debug.hpp.

◆ DEBUG_VERBOSE_LOG_SUCCESS

#define DEBUG_VERBOSE_LOG_SUCCESS   Debug::Verbose << __PRETTY_FUNCTION__ << " > Succeeded > "

Definition at line 15 of file Debug.hpp.

◆ DEBUG_VERBOSE_LOG_SUCCESS_EOF

#define DEBUG_VERBOSE_LOG_SUCCESS_EOF   Debug::Verbose << __PRETTY_FUNCTION__ << " > Succeeded > Reached end of function" << std::endl

Definition at line 17 of file Debug.hpp.

◆ DEBUG_VERBOSE_LOG_SUCCESS_NOINFO

#define DEBUG_VERBOSE_LOG_SUCCESS_NOINFO   Debug::Verbose << __PRETTY_FUNCTION__ << " > Succeeded" << std::endl

Definition at line 16 of file Debug.hpp.

◆ DEBUG_VERBOSE_START

#define DEBUG_VERBOSE_START   Debug::Verbose++ << __PRETTY_FUNCTION__ << " > Started" << std::endl

Definition at line 6 of file Debug.hpp.

◆ DEBUG_VERBOSE_SUCCESS

#define DEBUG_VERBOSE_SUCCESS   --Debug::Verbose << __PRETTY_FUNCTION__ << " > Succeeded > "

Definition at line 7 of file Debug.hpp.

◆ DEBUG_VERBOSE_SUCCESS_EOF

#define DEBUG_VERBOSE_SUCCESS_EOF   --Debug::Verbose << " > Succeeded > Reached end of function" << std::endl

Definition at line 9 of file Debug.hpp.

◆ DEBUG_VERBOSE_SUCCESS_NOINFO

#define DEBUG_VERBOSE_SUCCESS_NOINFO   --Debug::Verbose << __PRETTY_FUNCTION__ << " > Succeeded" << std::endl

Definition at line 8 of file Debug.hpp.