diff --git a/example/example.cpp b/example/example.cpp index dc3ebc75..519e1a7e 100644 --- a/example/example.cpp +++ b/example/example.cpp @@ -7,10 +7,10 @@ // // - #include "spdlog/spdlog.h" -int main(int, char *[]) { +int main(int, char *[]) +{ int i = 123; spdlog::info("HELLO STATIC! {}", i); } \ No newline at end of file diff --git a/include/spdlog/async.h b/include/spdlog/async.h index 971becd7..a13cbdc7 100644 --- a/include/spdlog/async.h +++ b/include/spdlog/async.h @@ -1,8 +1,5 @@ - -// -// Copyright(c) 2018 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once diff --git a/include/spdlog/async_logger-inl.h b/include/spdlog/async_logger-inl.h index 57ecfd73..84b5cd71 100644 --- a/include/spdlog/async_logger-inl.h +++ b/include/spdlog/async_logger-inl.h @@ -1,5 +1,7 @@ -// async logger implementation -// uses a thread pool to perform the actual logging +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. +// Distributed under the MIT License (http://opensource.org/licenses/MIT) + +#pragma once #include "spdlog/sinks/sink.h" #include "spdlog/details/thread_pool.h" diff --git a/include/spdlog/async_logger.h b/include/spdlog/async_logger.h index 71c628e5..907cf720 100644 --- a/include/spdlog/async_logger.h +++ b/include/spdlog/async_logger.h @@ -1,7 +1,5 @@ -// -// Copyright(c) 2015 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once diff --git a/include/spdlog/common-inl.h b/include/spdlog/common-inl.h new file mode 100644 index 00000000..3a6f2edd --- /dev/null +++ b/include/spdlog/common-inl.h @@ -0,0 +1,4 @@ +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. +// Distributed under the MIT License (http://opensource.org/licenses/MIT) + +#pragma once \ No newline at end of file diff --git a/include/spdlog/common.h b/include/spdlog/common.h index 7af05411..0dd010a5 100644 --- a/include/spdlog/common.h +++ b/include/spdlog/common.h @@ -1,7 +1,5 @@ -// -// Copyright(c) 2015 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once diff --git a/include/spdlog/details/circular_q.h b/include/spdlog/details/circular_q.h index b01325bb..4bf5ca13 100644 --- a/include/spdlog/details/circular_q.h +++ b/include/spdlog/details/circular_q.h @@ -1,7 +1,5 @@ -// -// Copyright(c) 2018 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// // cirucal q view of std::vector. #pragma once diff --git a/include/spdlog/details/console_globals.h b/include/spdlog/details/console_globals.h index e2afb6bf..443f8657 100644 --- a/include/spdlog/details/console_globals.h +++ b/include/spdlog/details/console_globals.h @@ -1,8 +1,8 @@ -#pragma once -// -// Copyright(c) 2018 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// + +#pragma once + #include "spdlog/details/null_mutex.h" #include diff --git a/include/spdlog/details/file_helper-inl.h b/include/spdlog/details/file_helper-inl.h index d40763ec..3e709654 100644 --- a/include/spdlog/details/file_helper-inl.h +++ b/include/spdlog/details/file_helper-inl.h @@ -1,7 +1,7 @@ -// -// Copyright(c) 2015 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// + +#pragma once #include "spdlog/details/os.h" diff --git a/include/spdlog/details/file_helper.h b/include/spdlog/details/file_helper.h index 6530b18b..87a0076a 100644 --- a/include/spdlog/details/file_helper.h +++ b/include/spdlog/details/file_helper.h @@ -1,7 +1,5 @@ -// -// Copyright(c) 2015 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once diff --git a/include/spdlog/details/fmt_helper.h b/include/spdlog/details/fmt_helper.h index 16035555..da253720 100644 --- a/include/spdlog/details/fmt_helper.h +++ b/include/spdlog/details/fmt_helper.h @@ -1,7 +1,5 @@ -// -// Created by gabi on 6/15/18. -// - +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. +// Distributed under the MIT License (http://opensource.org/licenses/MIT) #pragma once #include diff --git a/include/spdlog/details/log_msg-inl.h b/include/spdlog/details/log_msg-inl.h index 653b596e..d8ca61a4 100644 --- a/include/spdlog/details/log_msg-inl.h +++ b/include/spdlog/details/log_msg-inl.h @@ -1,3 +1,8 @@ +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. +// Distributed under the MIT License (http://opensource.org/licenses/MIT) + +#pragma once + #include "spdlog/details/os.h" #include "spdlog/sinks/sink.h" diff --git a/include/spdlog/details/log_msg.h b/include/spdlog/details/log_msg.h index 8774dea6..9d3cbab4 100644 --- a/include/spdlog/details/log_msg.h +++ b/include/spdlog/details/log_msg.h @@ -1,7 +1,5 @@ -// -// Copyright(c) 2015 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once diff --git a/include/spdlog/details/mpmc_blocking_q.h b/include/spdlog/details/mpmc_blocking_q.h index ca789fc6..3a383bfe 100644 --- a/include/spdlog/details/mpmc_blocking_q.h +++ b/include/spdlog/details/mpmc_blocking_q.h @@ -1,9 +1,7 @@ -#pragma once - -// -// Copyright(c) 2018 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// + +#pragma once // multi producer-multi consumer blocking queue. // enqueue(..) - will block until room found to put the new message. diff --git a/include/spdlog/details/null_mutex.h b/include/spdlog/details/null_mutex.h index 3f495bd9..2dc1f98b 100644 --- a/include/spdlog/details/null_mutex.h +++ b/include/spdlog/details/null_mutex.h @@ -1,7 +1,5 @@ -// -// Copyright(c) 2015 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once diff --git a/include/spdlog/details/os-inl.h b/include/spdlog/details/os-inl.h index 0b33a17e..cc4690d6 100644 --- a/include/spdlog/details/os-inl.h +++ b/include/spdlog/details/os-inl.h @@ -1,8 +1,7 @@ -// -// Copyright(c) 2015 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// +#pragma once #include #include #include diff --git a/include/spdlog/details/os.h b/include/spdlog/details/os.h index 2d04640a..dc4ce16b 100644 --- a/include/spdlog/details/os.h +++ b/include/spdlog/details/os.h @@ -1,7 +1,6 @@ -// -// Copyright(c) 2015 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// + #pragma once #include "spdlog/common.h" diff --git a/include/spdlog/details/pattern_formatter-inl.h b/include/spdlog/details/pattern_formatter-inl.h index 662c6bc3..efb5f1e6 100644 --- a/include/spdlog/details/pattern_formatter-inl.h +++ b/include/spdlog/details/pattern_formatter-inl.h @@ -1,7 +1,7 @@ -// -// Copyright(c) 2015 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// + +#pragma once #include "spdlog/details/fmt_helper.h" #include "spdlog/details/log_msg.h" diff --git a/include/spdlog/details/pattern_formatter.h b/include/spdlog/details/pattern_formatter.h index f25e6b72..4b36ed06 100644 --- a/include/spdlog/details/pattern_formatter.h +++ b/include/spdlog/details/pattern_formatter.h @@ -1,9 +1,8 @@ -// -// Copyright(c) 2015 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once + #include "spdlog/common.h" #include "spdlog/details/log_msg.h" #include "spdlog/details/os.h" diff --git a/include/spdlog/details/periodic_worker-inl.h b/include/spdlog/details/periodic_worker-inl.h index 9e9a81d7..dc363913 100644 --- a/include/spdlog/details/periodic_worker-inl.h +++ b/include/spdlog/details/periodic_worker-inl.h @@ -1,8 +1,7 @@ -// -// Created by gabi on 5/8/19. -// +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. +// Distributed under the MIT License (http://opensource.org/licenses/MIT) -#include "spdlog/common.h" +#pragma once SPDLOG_INLINE spdlog::details::periodic_worker::periodic_worker(const std::function &callback_fun, std::chrono::seconds interval) { diff --git a/include/spdlog/details/periodic_worker.h b/include/spdlog/details/periodic_worker.h index a28a237f..da8ca8bb 100644 --- a/include/spdlog/details/periodic_worker.h +++ b/include/spdlog/details/periodic_worker.h @@ -1,8 +1,5 @@ - -// -// Copyright(c) 2018 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once diff --git a/include/spdlog/details/registry-inl.h b/include/spdlog/details/registry-inl.h index 4727414e..168c4c54 100644 --- a/include/spdlog/details/registry-inl.h +++ b/include/spdlog/details/registry-inl.h @@ -1,7 +1,7 @@ -// -// Copyright(c) 2015 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// + +#pragma once #include "spdlog/common.h" #include "spdlog/details/periodic_worker.h" diff --git a/include/spdlog/details/registry.h b/include/spdlog/details/registry.h index 47464726..267d30a2 100644 --- a/include/spdlog/details/registry.h +++ b/include/spdlog/details/registry.h @@ -1,7 +1,5 @@ -// -// Copyright(c) 2015 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once diff --git a/include/spdlog/details/thread_pool-inl.h b/include/spdlog/details/thread_pool-inl.h index 30c849de..d9618215 100644 --- a/include/spdlog/details/thread_pool-inl.h +++ b/include/spdlog/details/thread_pool-inl.h @@ -1,3 +1,7 @@ +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. +// Distributed under the MIT License (http://opensource.org/licenses/MIT) + +#pragma once #include "spdlog/common.h" diff --git a/include/spdlog/details/thread_pool.h b/include/spdlog/details/thread_pool.h index 21bef56f..cc14bb39 100644 --- a/include/spdlog/details/thread_pool.h +++ b/include/spdlog/details/thread_pool.h @@ -1,3 +1,6 @@ +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. +// Distributed under the MIT License (http://opensource.org/licenses/MIT) + #pragma once #include "spdlog/details/fmt_helper.h" diff --git a/include/spdlog/formatter.h b/include/spdlog/formatter.h index a7ef6b8b..16d86969 100644 --- a/include/spdlog/formatter.h +++ b/include/spdlog/formatter.h @@ -1,7 +1,5 @@ -// -// Copyright(c) 2015 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once diff --git a/include/spdlog/logger-inl.h b/include/spdlog/logger-inl.h index 5e817d4b..c0d13f11 100644 --- a/include/spdlog/logger-inl.h +++ b/include/spdlog/logger-inl.h @@ -1,3 +1,8 @@ +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. +// Distributed under the MIT License (http://opensource.org/licenses/MIT) + +#pragma once + #include "spdlog/sinks/sink.h" #include "spdlog/details/pattern_formatter.h" diff --git a/include/spdlog/logger.h b/include/spdlog/logger.h index 0c152e2d..21814121 100644 --- a/include/spdlog/logger.h +++ b/include/spdlog/logger.h @@ -1,7 +1,5 @@ -// -// Copyright(c) 2015-2108 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once diff --git a/include/spdlog/sinks/android_sink.h b/include/spdlog/sinks/android_sink.h index ae7f7733..70073ae4 100644 --- a/include/spdlog/sinks/android_sink.h +++ b/include/spdlog/sinks/android_sink.h @@ -1,7 +1,5 @@ -// -// Copyright(c) 2015 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once diff --git a/include/spdlog/sinks/ansicolor_sink-inl.h b/include/spdlog/sinks/ansicolor_sink-inl.h index fa40570d..63da482e 100644 --- a/include/spdlog/sinks/ansicolor_sink-inl.h +++ b/include/spdlog/sinks/ansicolor_sink-inl.h @@ -1,3 +1,8 @@ +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. +// Distributed under the MIT License (http://opensource.org/licenses/MIT) + +#pragma once + #include "spdlog/details/os.h" template diff --git a/include/spdlog/sinks/ansicolor_sink.h b/include/spdlog/sinks/ansicolor_sink.h index 3adce3eb..1eb8c931 100644 --- a/include/spdlog/sinks/ansicolor_sink.h +++ b/include/spdlog/sinks/ansicolor_sink.h @@ -1,7 +1,5 @@ -// -// Copyright(c) 2017 spdlog authors. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once diff --git a/include/spdlog/sinks/base_sink-inl.h b/include/spdlog/sinks/base_sink-inl.h index 607cf390..177bbb69 100644 --- a/include/spdlog/sinks/base_sink-inl.h +++ b/include/spdlog/sinks/base_sink-inl.h @@ -1,3 +1,8 @@ +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. +// Distributed under the MIT License (http://opensource.org/licenses/MIT) + +#pragma once + #include "spdlog/common.h" #include "spdlog/details/pattern_formatter.h" diff --git a/include/spdlog/sinks/base_sink.h b/include/spdlog/sinks/base_sink.h index e3a3924a..2ecf11b1 100644 --- a/include/spdlog/sinks/base_sink.h +++ b/include/spdlog/sinks/base_sink.h @@ -1,7 +1,5 @@ -// -// Copyright(c) 2015 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once // diff --git a/include/spdlog/sinks/basic_file_sink.h b/include/spdlog/sinks/basic_file_sink.h index facc7209..249a6f31 100644 --- a/include/spdlog/sinks/basic_file_sink.h +++ b/include/spdlog/sinks/basic_file_sink.h @@ -1,7 +1,5 @@ -// -// Copyright(c) 2015-2018 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once diff --git a/include/spdlog/sinks/daily_file_sink.h b/include/spdlog/sinks/daily_file_sink.h index 08392c16..a240294c 100644 --- a/include/spdlog/sinks/daily_file_sink.h +++ b/include/spdlog/sinks/daily_file_sink.h @@ -1,7 +1,5 @@ -// -// Copyright(c) 2015 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once diff --git a/include/spdlog/sinks/dist_sink.h b/include/spdlog/sinks/dist_sink.h index 44de3913..90da7dd2 100644 --- a/include/spdlog/sinks/dist_sink.h +++ b/include/spdlog/sinks/dist_sink.h @@ -1,7 +1,5 @@ -// -// Copyright (c) 2015 David Schury, Gabi Melman +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once diff --git a/include/spdlog/sinks/msvc_sink.h b/include/spdlog/sinks/msvc_sink.h index f06c16c7..6866dd7a 100644 --- a/include/spdlog/sinks/msvc_sink.h +++ b/include/spdlog/sinks/msvc_sink.h @@ -1,7 +1,5 @@ -// // Copyright(c) 2016 Alexander Dalshov. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once diff --git a/include/spdlog/sinks/null_sink.h b/include/spdlog/sinks/null_sink.h index 54f322c4..ab681575 100644 --- a/include/spdlog/sinks/null_sink.h +++ b/include/spdlog/sinks/null_sink.h @@ -1,7 +1,5 @@ -// -// Copyright(c) 2015 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once diff --git a/include/spdlog/sinks/ostream_sink.h b/include/spdlog/sinks/ostream_sink.h index 22e377b6..f060ecde 100644 --- a/include/spdlog/sinks/ostream_sink.h +++ b/include/spdlog/sinks/ostream_sink.h @@ -1,7 +1,5 @@ -// -// Copyright(c) 2015 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once diff --git a/include/spdlog/sinks/rotating_file_sink.h b/include/spdlog/sinks/rotating_file_sink.h index 35f33a4d..ab658532 100644 --- a/include/spdlog/sinks/rotating_file_sink.h +++ b/include/spdlog/sinks/rotating_file_sink.h @@ -1,7 +1,5 @@ -// -// Copyright(c) 2015 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once diff --git a/include/spdlog/sinks/sink-inl.h b/include/spdlog/sinks/sink-inl.h index 559018b6..1ec317a3 100644 --- a/include/spdlog/sinks/sink-inl.h +++ b/include/spdlog/sinks/sink-inl.h @@ -1,3 +1,8 @@ +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. +// Distributed under the MIT License (http://opensource.org/licenses/MIT) + +#pragma once + #include "spdlog/common.h" #include "spdlog/details/pattern_formatter.h" diff --git a/include/spdlog/sinks/sink.h b/include/spdlog/sinks/sink.h index 01273d18..2c5ef9bd 100644 --- a/include/spdlog/sinks/sink.h +++ b/include/spdlog/sinks/sink.h @@ -1,12 +1,9 @@ -// -// Copyright(c) 2015 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once #include "spdlog/details/log_msg.h" -//#include "spdlog/details/pattern_formatter.h" #include "spdlog/formatter.h" namespace spdlog { diff --git a/include/spdlog/sinks/stdout_color_sinks.h b/include/spdlog/sinks/stdout_color_sinks.h index 5accda44..bc8fcbab 100644 --- a/include/spdlog/sinks/stdout_color_sinks.h +++ b/include/spdlog/sinks/stdout_color_sinks.h @@ -1,7 +1,5 @@ -// -// Copyright(c) 2018 spdlog +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once diff --git a/include/spdlog/sinks/stdout_sinks.h b/include/spdlog/sinks/stdout_sinks.h index bf8e9790..6b7fd3ec 100644 --- a/include/spdlog/sinks/stdout_sinks.h +++ b/include/spdlog/sinks/stdout_sinks.h @@ -1,7 +1,5 @@ -// -// Copyright(c) 2015 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once diff --git a/include/spdlog/sinks/syslog_sink.h b/include/spdlog/sinks/syslog_sink.h index c3bcd844..53226d6a 100644 --- a/include/spdlog/sinks/syslog_sink.h +++ b/include/spdlog/sinks/syslog_sink.h @@ -1,7 +1,5 @@ -// -// Copyright(c) 2015 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once diff --git a/include/spdlog/sinks/systemd_sink.h b/include/spdlog/sinks/systemd_sink.h index be143194..dfdc8b72 100644 --- a/include/spdlog/sinks/systemd_sink.h +++ b/include/spdlog/sinks/systemd_sink.h @@ -1,7 +1,5 @@ -// // Copyright(c) 2019 ZVYAGIN.Alexander@gmail.com // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once diff --git a/include/spdlog/sinks/wincolor_sink.h b/include/spdlog/sinks/wincolor_sink.h index 1fdf8c56..70ee4a60 100644 --- a/include/spdlog/sinks/wincolor_sink.h +++ b/include/spdlog/sinks/wincolor_sink.h @@ -1,7 +1,5 @@ -// -// Copyright(c) 2016 spdlog +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once diff --git a/include/spdlog/spdlog.h b/include/spdlog/spdlog.h index aaa93886..db67dba6 100644 --- a/include/spdlog/spdlog.h +++ b/include/spdlog/spdlog.h @@ -1,12 +1,12 @@ -// -// Copyright(c) 2015-2018 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// + // spdlog main header file. // see example.cpp for usage example #ifndef SPDLOG_H #define SPDLOG_H + #pragma once #include "spdlog/common.h" diff --git a/include/spdlog/tweakme.h b/include/spdlog/tweakme.h index beae4f74..37c2e6cf 100644 --- a/include/spdlog/tweakme.h +++ b/include/spdlog/tweakme.h @@ -1,7 +1,5 @@ -// -// Copyright(c) 2015 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once diff --git a/include/spdlog/version.h b/include/spdlog/version.h index 87a68bd1..0bbf338d 100644 --- a/include/spdlog/version.h +++ b/include/spdlog/version.h @@ -1,7 +1,5 @@ -// -// Copyright(c) 2015 Gabi Melman. +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) -// #pragma once diff --git a/src/format.cc b/src/format.cc index 70ccb8a3..f2a014da 100644 --- a/src/format.cc +++ b/src/format.cc @@ -1,10 +1,12 @@ -// Formatting library for C++ -// // Copyright (c) 2012 - 2016, Victor Zverovich // All rights reserved. // // For the license information refer to format.h. + +// Slightly modified version of fmt lib to include bundled format-inl.h + + #if !defined(SPDLOG_FMT_EXTERNAL) #include "spdlog/fmt/bundled/format-inl.h" #else diff --git a/src/spdlog.cpp b/src/spdlog.cpp index 6b1cb5f4..c41ca6e9 100644 --- a/src/spdlog.cpp +++ b/src/spdlog.cpp @@ -1,3 +1,6 @@ +// Copyright(c) 2015-present Gabi Melman & spdlog contributors. +// Distributed under the MIT License (http://opensource.org/licenses/MIT) + #include "spdlog/spdlog.h" #include "spdlog/details/null_mutex.h"