added includes to common.h
This commit is contained in:
		@@ -24,8 +24,10 @@
 | 
			
		||||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include<initializer_list>
 | 
			
		||||
#include<chrono>
 | 
			
		||||
#include <string>
 | 
			
		||||
#include <initializer_list>
 | 
			
		||||
#include <chrono>
 | 
			
		||||
#include <memory>
 | 
			
		||||
 | 
			
		||||
//visual studio does not support noexcept yet
 | 
			
		||||
#ifndef _MSC_VER
 | 
			
		||||
 
 | 
			
		||||
@@ -28,8 +28,13 @@
 | 
			
		||||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#include "common.h"
 | 
			
		||||
#include "logger.h"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
namespace spdlog
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@@ -57,7 +62,7 @@ void set_formatter(formatter_ptr f);
 | 
			
		||||
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.
 | 
			
		||||
// 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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user