Commit b74b28f5 authored by gabi's avatar gabi

added includes to common.h

parent 9f34c58b
...@@ -24,8 +24,10 @@ ...@@ -24,8 +24,10 @@
#pragma once #pragma once
#include<initializer_list> #include <string>
#include<chrono> #include <initializer_list>
#include <chrono>
#include <memory>
//visual studio does not support noexcept yet //visual studio does not support noexcept yet
#ifndef _MSC_VER #ifndef _MSC_VER
......
...@@ -28,8 +28,13 @@ ...@@ -28,8 +28,13 @@
#pragma once #pragma once
#include "common.h"
#include "logger.h" #include "logger.h"
namespace spdlog namespace spdlog
{ {
...@@ -57,7 +62,7 @@ void set_formatter(formatter_ptr f); ...@@ -57,7 +62,7 @@ void set_formatter(formatter_ptr f);
void set_level(level::level_enum log_level); void set_level(level::level_enum log_level);
// Turn on async mode and set the queue size for each async_logger. // Turn on async mode and set the queue size for each async_logger.
// queue_size: size of queue (must be power of 2). The queue will pre allocate queue_size entries upon construction. // queue_size: size of queue (must be power of 2). The queue will pre allocate queue_size entries upon construction.
// async_overflow_policy (optional): // async_overflow_policy (optional):
// async_overflow_policy::block_retry (default policy, if queue is full, block until queue has room for the new log entry) // async_overflow_policy::block_retry (default policy, if queue is full, block until queue has room for the new log entry)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment