#include <Console.h>
|
| | Logger () |
| |
| | Logger (Logger const &)=delete |
| |
| void | operator= (Logger const &)=delete |
| |
| void | VError (const char *format, fmt::format_args args) const |
| |
| void | VWarning (const char *format, fmt::format_args args) const |
| |
| void | VInfo (const char *format, fmt::format_args args) const |
| |
| void | VDebug (const char *format, fmt::format_args args) const |
| |
| template<typename... Args> |
| void | Error (const char *format, const Args &... args) const |
| |
| template<typename... Args> |
| void | Warning (const char *format, const Args &... args) const |
| |
| template<typename... Args> |
| void | Info (const char *format, const Args &... args) const |
| |
| template<typename... Args> |
| void | Debug (const char *format, const Args &... args) const |
| |
◆ TextColor
| Enumerator |
|---|
| Black | |
| Red | |
| Green | |
| Yellow | |
| Blue | |
| Magenta | |
| Cyan | |
| White | |
◆ Logger() [1/2]
| open3d::utility::Logger::Logger |
( |
| ) |
|
|
inline |
◆ Logger() [2/2]
| open3d::utility::Logger::Logger |
( |
Logger const & |
| ) |
|
|
delete |
◆ ChangeConsoleColor()
| void open3d::utility::Logger::ChangeConsoleColor |
( |
TextColor |
text_color, |
|
|
int |
highlight_text |
|
) |
| const |
|
protected |
Internal function to change text color for the console Note there is no safety check for parameters.
- Parameters
-
| text_color | from 0 to 7, they are black, red, green, yellow, blue, magenta, cyan, white |
| highlight_text | is 0 or 1 |
◆ ColorString()
| std::string open3d::utility::Logger::ColorString |
( |
const std::string & |
text, |
|
|
TextColor |
text_color, |
|
|
int |
highlight_text |
|
) |
| const |
|
protected |
Colorize and reset the color of a string, does not work on Windows.
◆ Debug()
template<typename... Args>
| void open3d::utility::Logger::Debug |
( |
const char * |
format, |
|
|
const Args &... |
args |
|
) |
| const |
|
inline |
◆ Error()
template<typename... Args>
| void open3d::utility::Logger::Error |
( |
const char * |
format, |
|
|
const Args &... |
args |
|
) |
| const |
|
inline |
◆ i()
| static Logger& open3d::utility::Logger::i |
( |
| ) |
|
|
inlinestatic |
◆ Info()
template<typename... Args>
| void open3d::utility::Logger::Info |
( |
const char * |
format, |
|
|
const Args &... |
args |
|
) |
| const |
|
inline |
◆ operator=()
| void open3d::utility::Logger::operator= |
( |
Logger const & |
| ) |
|
|
delete |
◆ ResetConsoleColor()
| void open3d::utility::Logger::ResetConsoleColor |
( |
| ) |
const |
|
protected |
◆ VDebug()
| void open3d::utility::Logger::VDebug |
( |
const char * |
format, |
|
|
fmt::format_args |
args |
|
) |
| const |
|
inline |
◆ VError()
| void open3d::utility::Logger::VError |
( |
const char * |
format, |
|
|
fmt::format_args |
args |
|
) |
| const |
|
inline |
◆ VInfo()
| void open3d::utility::Logger::VInfo |
( |
const char * |
format, |
|
|
fmt::format_args |
args |
|
) |
| const |
|
inline |
◆ VWarning()
| void open3d::utility::Logger::VWarning |
( |
const char * |
format, |
|
|
fmt::format_args |
args |
|
) |
| const |
|
inline |
◆ Warning()
template<typename... Args>
| void open3d::utility::Logger::Warning |
( |
const char * |
format, |
|
|
const Args &... |
args |
|
) |
| const |
|
inline |
◆ print_fcn_
| std::function<void(const std::string &)> open3d::utility::Logger::print_fcn_ |
Initial value:=
[](const std::string &msg) { std::cout << msg << std::endl; }
◆ verbosity_level_
The documentation for this class was generated from the following files: