SHA256
.
This commit is contained in:
@@ -7,8 +7,7 @@
|
|||||||
|
|
||||||
#include <featherlog/log_level.hpp>
|
#include <featherlog/log_level.hpp>
|
||||||
|
|
||||||
namespace flog
|
namespace flog {
|
||||||
{
|
|
||||||
struct LogMessage {
|
struct LogMessage {
|
||||||
std::chrono::system_clock::time_point timestamp;
|
std::chrono::system_clock::time_point timestamp;
|
||||||
LogLevel level;
|
LogLevel level;
|
||||||
|
|||||||
@@ -7,10 +7,8 @@
|
|||||||
#include <featherlog/log_message.hpp>
|
#include <featherlog/log_message.hpp>
|
||||||
#include <featherlog/flog_definitions.h>
|
#include <featherlog/flog_definitions.h>
|
||||||
|
|
||||||
namespace flog
|
namespace flog {
|
||||||
{
|
class FLOG_API LogOutputter {
|
||||||
class FLOG_API LogOutputter
|
|
||||||
{
|
|
||||||
public:
|
public:
|
||||||
virtual ~LogOutputter() = default;
|
virtual ~LogOutputter() = default;
|
||||||
|
|
||||||
|
|||||||
@@ -7,12 +7,10 @@
|
|||||||
|
|
||||||
#include <featherlog/flog_definitions.h>
|
#include <featherlog/flog_definitions.h>
|
||||||
|
|
||||||
namespace flog
|
namespace flog {
|
||||||
{
|
|
||||||
class LoggerManager;
|
class LoggerManager;
|
||||||
|
|
||||||
class FLOG_API Logger
|
class FLOG_API Logger {
|
||||||
{
|
|
||||||
friend class LogManager;
|
friend class LogManager;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -23,8 +21,8 @@ namespace flog
|
|||||||
std::source_location loc = std::source_location::current());
|
std::source_location loc = std::source_location::current());
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Logger(std::string name, const std::weak_ptr<LogManager> &manager) noexcept :
|
Logger(std::string name, const std::weak_ptr<LogManager> &manager) noexcept : m_name(std::move(name)),
|
||||||
m_name(std::move(name)), m_logManager(manager)
|
m_logManager(manager)
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
std::string m_name;
|
std::string m_name;
|
||||||
|
|||||||
Reference in New Issue
Block a user