YCLIMP
Yandex Command Line Interface Music Player
Loading...
Searching...
No Matches
Debug Class Reference

The Debug class - Draw messages with ncurses or print them in debug file. More...

#include <Debug.hpp>

Static Public Member Functions

static void DrawMsg (const std::string &msg)
 Set message to draw.
static void Draw (int posY, int posX)
 Method that actually draws stuff with ncurses.
static void Print (const std::string &msg, const std::string &filename="")
 Method that prints message to the specified file.
static void Print (const std::wstring &msg)
 Method that prints to default log file.
static void Init ()

Detailed Description

The Debug class - Draw messages with ncurses or print them in debug file.

With ncurses there is no use with stdout and stderr

  • All the members are static, can be used from anywhere

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