wip static-lib

This commit is contained in:
gabime
2019-05-12 02:10:39 +03:00
parent 42e30468a9
commit 09e83937de
3 changed files with 4 additions and 20 deletions

View File

@@ -16,7 +16,6 @@
#include <string>
#include <tuple>
namespace spdlog {
namespace sinks {
@@ -54,8 +53,6 @@ SPDLOG_INLINE filename_t rotating_file_sink<Mutex>::calc_filename(const filename
return fmt::to_string(w);
}
template<typename Mutex>
SPDLOG_INLINE const filename_t &rotating_file_sink<Mutex>::filename() const
{

View File

@@ -2,6 +2,7 @@
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
#pragma once
#ifndef SPDLOG_H
#include "spdlog/spdlog.h"
#endif
@@ -27,12 +28,10 @@ public:
static filename_t calc_filename(const filename_t &filename, std::size_t index);
const filename_t &filename() const;
protected:
void sink_it_(const details::log_msg &msg) override;
void flush_() override;
private:
// Rotate files:
// log.txt -> log.1.txt
@@ -76,7 +75,6 @@ inline std::shared_ptr<logger> rotating_logger_st(
}
} // namespace spdlog
#ifdef SPDLOG_HEADER_ONLY
#include "rotating_file_sink-inl.h"
#endif