Centralized logger for the DoIP library.
More...
#include <Logger.h>
|
| static std::shared_ptr< spdlog::logger > | get (const std::string &name="doip", spdlog::level::level_enum level=spdlog::level::info) |
| |
| static std::shared_ptr< spdlog::logger > | getUdp () |
| |
| static std::shared_ptr< spdlog::logger > | getTcp () |
| |
| static void | setLevel (spdlog::level::level_enum level) |
| |
| static void | setPattern (const std::string &pattern) |
| |
| static bool | colorsSupported () |
| |
Centralized logger for the DoIP library.
Definition at line 70 of file Logger.h.
◆ colorsSupported()
| static bool doip::Logger::colorsSupported |
( |
| ) |
|
|
inlinestatic |
◆ get()
| static std::shared_ptr<spdlog::logger> doip::Logger::get |
( |
const std::string & |
name = "doip", |
|
|
spdlog::level::level_enum |
level = spdlog::level::info |
|
) |
| |
|
inlinestatic |
◆ getTcp()
| static std::shared_ptr<spdlog::logger> doip::Logger::getTcp |
( |
| ) |
|
|
inlinestatic |
◆ getUdp()
| static std::shared_ptr<spdlog::logger> doip::Logger::getUdp |
( |
| ) |
|
|
inlinestatic |
◆ setLevel()
| static void doip::Logger::setLevel |
( |
spdlog::level::level_enum |
level | ) |
|
|
inlinestatic |
◆ setPattern()
| static void doip::Logger::setPattern |
( |
const std::string & |
pattern | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following files: