added includes to common.h

This commit is contained in:
gabi 2015-01-15 11:46:51 +02:00
parent 9f34c58b3e
commit b74b28f5c6
2 changed files with 10 additions and 3 deletions

View File

@ -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

View File

@ -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)