Forwards a message to underlying logger. Use Log::GetLogger to obtain instance of this class.
More...
#include <Urho3D/IO/Log.h>
|
| Logger (const Logger &other)=default |
|
template<class Arg , class... Args> |
void | Write (LogLevel level, ea::string_view format, const Arg &arg, const Args &... args) const |
| Write formatted message to log if there are extra arguments.
|
|
void | Write (LogLevel level, ea::string_view message) const |
| Write message to log as is if there's no extra arguments.
|
|
template<typename... Args> |
void | Trace (ea::string_view format, Args... args) const |
|
template<typename... Args> |
void | Debug (ea::string_view format, Args... args) const |
|
template<typename... Args> |
void | Info (ea::string_view format, Args... args) const |
|
template<typename... Args> |
void | Warning (ea::string_view format, Args... args) const |
|
template<typename... Args> |
void | Error (ea::string_view format, Args... args) const |
|
|
void * | logger_ = nullptr |
| Instance of spdlog logger.
|
|
Forwards a message to underlying logger. Use Log::GetLogger to obtain instance of this class.
The documentation for this class was generated from the following files:
- Urho3D/IO/Log.h
- Urho3D/IO/Log.cpp