Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
roc::core::Console Class Reference

Console. More...

#include <console.h>

Inheritance diagram for roc::core::Console:
roc::core::NonCopyable< T >

Public Member Functions

bool colors_supported ()
 Check if colors can be used.
 
void println (Color color, const char *format,...)
 Print line.
 
bool colors_supported ()
 Check if colors can be used.
 
void println (Color color, const char *format,...)
 Print line.
 

Static Public Member Functions

static Consoleinstance ()
 Get logger instance.
 
static Consoleinstance ()
 Get logger instance.
 

Friends

class Singleton< Console >
 

Detailed Description

Console.

Definition at line 28 of file console.h.

Member Function Documentation

◆ colors_supported() [1/2]

bool roc::core::Console::colors_supported ( )

Check if colors can be used.

◆ colors_supported() [2/2]

bool roc::core::Console::colors_supported ( )

Check if colors can be used.

◆ instance() [1/2]

static Console & roc::core::Console::instance ( )
inlinestatic

Get logger instance.

Definition at line 31 of file console.h.

◆ instance() [2/2]

static Console & roc::core::Console::instance ( )
inlinestatic

Get logger instance.

Definition at line 40 of file console.h.

◆ println() [1/2]

void roc::core::Console::println ( Color  color,
const char *  format,
  ... 
)

Print line.

◆ println() [2/2]

void roc::core::Console::println ( Color  color,
const char *  format,
  ... 
)

Print line.

Friends And Related Function Documentation

◆ Singleton< Console >

friend class Singleton< Console >
friend

Definition at line 39 of file console.h.


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