mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 11:29:01 +08:00
wip static-lib
This commit is contained in:
@@ -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
|
Reference in New Issue
Block a user