SHA256
.
This commit is contained in:
@@ -7,24 +7,22 @@
|
||||
|
||||
#include <featherlog/flog_definitions.h>
|
||||
|
||||
namespace flog
|
||||
{
|
||||
namespace flog {
|
||||
class LoggerManager;
|
||||
|
||||
class FLOG_API Logger
|
||||
{
|
||||
class FLOG_API Logger {
|
||||
friend class LogManager;
|
||||
|
||||
public:
|
||||
~Logger() = default;
|
||||
|
||||
template <typename... Args>
|
||||
void FLOG_CALL info(std::format_string<Args...> fmt, Args&&... args,
|
||||
std::source_location loc = std::source_location::current());
|
||||
template<typename... Args>
|
||||
void FLOG_CALL info(std::format_string<Args...> fmt, Args &&... args,
|
||||
std::source_location loc = std::source_location::current());
|
||||
|
||||
private:
|
||||
Logger(std::string name, const std::weak_ptr<LogManager> &manager) noexcept :
|
||||
m_name(std::move(name)), m_logManager(manager)
|
||||
Logger(std::string name, const std::weak_ptr<LogManager> &manager) noexcept : m_name(std::move(name)),
|
||||
m_logManager(manager)
|
||||
{ }
|
||||
|
||||
std::string m_name;
|
||||
|
||||
Reference in New Issue
Block a user