Logger client that redirects messages to standard output.
More...
#include <geogram/basic/logger.h>
|
| ConsoleLogger () |
| Creates a ConsoleLogger.
|
|
void | div (const std::string &title) override |
| Creates a new division.
|
|
void | out (const std::string &str) override |
| Handles an information message.
|
|
void | warn (const std::string &str) override |
| Handles a warning message.
|
|
void | err (const std::string &str) override |
| Handles an error message.
|
|
void | status (const std::string &str) override |
| Handles a status message.
|
|
| ~LoggerClient () override |
| LoggerClient destructor.
|
|
void | ref () const |
| Increments the reference count.
|
|
void | unref () const |
| Decrements the reference count.
|
|
bool | is_shared () const |
| Check if the object is shared.
|
|
int | nb_refs () const |
| Gets the number of references that point to this object.
|
|
|
| ~ConsoleLogger () override |
| ConsoleLogger destructor.
|
|
| Counted () |
| Creates a reference counted object.
|
|
virtual | ~Counted () |
| Destroys a reference counted object.
|
|
|
static void | ref (const Counted *counted) |
| Increments the reference count.
|
|
static void | unref (const Counted *counted) |
| Decrements the reference count.
|
|
Logger client that redirects messages to standard output.
Definition at line 203 of file logger.h.
◆ div()
void GEO::ConsoleLogger::div |
( |
const std::string & |
title | ) |
|
|
overridevirtual |
Creates a new division.
This creates a new division entitled with title
- Parameters
-
[in] | title | the text of the title |
Implements GEO::LoggerClient.
◆ err()
void GEO::ConsoleLogger::err |
( |
const std::string & |
str | ) |
|
|
overridevirtual |
Handles an error message.
- Parameters
-
[in] | str | the text of the message |
Implements GEO::LoggerClient.
◆ out()
void GEO::ConsoleLogger::out |
( |
const std::string & |
str | ) |
|
|
overridevirtual |
Handles an information message.
- Parameters
-
[in] | str | the text of the message |
Implements GEO::LoggerClient.
◆ status()
void GEO::ConsoleLogger::status |
( |
const std::string & |
str | ) |
|
|
overridevirtual |
Handles a status message.
- Parameters
-
[in] | str | the text of the message This function does actually nothing |
Implements GEO::LoggerClient.
◆ warn()
void GEO::ConsoleLogger::warn |
( |
const std::string & |
str | ) |
|
|
overridevirtual |
Handles a warning message.
- Parameters
-
[in] | str | the text of the message |
Implements GEO::LoggerClient.
The documentation for this class was generated from the following file: