#include <Console.h>
◆ 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) {
fmt::print(msg);
fmt::print("\n");
}
◆ verbosity_level_
The documentation for this class was generated from the following files:
- /home/yixing/repo/Open3D/src/Open3D/Utility/Console.h
- /home/yixing/repo/Open3D/src/Open3D/Utility/Console.cpp