Normalized copyright message

This commit is contained in:
gabime 2019-05-11 20:06:17 +03:00
parent 005450ff13
commit 46ef71e3ec
52 changed files with 106 additions and 132 deletions

View File

@ -7,10 +7,10 @@
// //
// //
#include "spdlog/spdlog.h" #include "spdlog/spdlog.h"
int main(int, char *[]) { int main(int, char *[])
{
int i = 123; int i = 123;
spdlog::info("HELLO STATIC! {}", i); spdlog::info("HELLO STATIC! {}", i);
} }

View File

@ -1,8 +1,5 @@
// Copyright(c) 2015-present Gabi Melman & spdlog contributors.
//
// Copyright(c) 2018 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once

View File

@ -1,5 +1,7 @@
// async logger implementation // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// uses a thread pool to perform the actual logging // Distributed under the MIT License (http://opensource.org/licenses/MIT)
#pragma once
#include "spdlog/sinks/sink.h" #include "spdlog/sinks/sink.h"
#include "spdlog/details/thread_pool.h" #include "spdlog/details/thread_pool.h"

View File

@ -1,7 +1,5 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once

View File

@ -0,0 +1,4 @@
// Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
#pragma once

View File

@ -1,7 +1,5 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once

View File

@ -1,7 +1,5 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2018 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
// cirucal q view of std::vector. // cirucal q view of std::vector.
#pragma once #pragma once

View File

@ -1,8 +1,8 @@
#pragma once // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
//
// Copyright(c) 2018 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once
#include "spdlog/details/null_mutex.h" #include "spdlog/details/null_mutex.h"
#include <cstdio> #include <cstdio>

View File

@ -1,7 +1,7 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once
#include "spdlog/details/os.h" #include "spdlog/details/os.h"

View File

@ -1,7 +1,5 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once

View File

@ -1,7 +1,5 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Created by gabi on 6/15/18. // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once
#include <chrono> #include <chrono>

View File

@ -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/details/os.h"
#include "spdlog/sinks/sink.h" #include "spdlog/sinks/sink.h"

View File

@ -1,7 +1,5 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once

View File

@ -1,9 +1,7 @@
#pragma once // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
//
// Copyright(c) 2018 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once
// multi producer-multi consumer blocking queue. // multi producer-multi consumer blocking queue.
// enqueue(..) - will block until room found to put the new message. // enqueue(..) - will block until room found to put the new message.

View File

@ -1,7 +1,5 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once

View File

@ -1,8 +1,7 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once
#include <algorithm> #include <algorithm>
#include <chrono> #include <chrono>
#include <cstdio> #include <cstdio>

View File

@ -1,7 +1,6 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once
#include "spdlog/common.h" #include "spdlog/common.h"

View File

@ -1,7 +1,7 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once
#include "spdlog/details/fmt_helper.h" #include "spdlog/details/fmt_helper.h"
#include "spdlog/details/log_msg.h" #include "spdlog/details/log_msg.h"

View File

@ -1,9 +1,8 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once
#include "spdlog/common.h" #include "spdlog/common.h"
#include "spdlog/details/log_msg.h" #include "spdlog/details/log_msg.h"
#include "spdlog/details/os.h" #include "spdlog/details/os.h"

View File

@ -1,8 +1,7 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Created by gabi on 5/8/19. // 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<void()> &callback_fun, std::chrono::seconds interval) SPDLOG_INLINE spdlog::details::periodic_worker::periodic_worker(const std::function<void()> &callback_fun, std::chrono::seconds interval)
{ {

View File

@ -1,8 +1,5 @@
// Copyright(c) 2015-present Gabi Melman & spdlog contributors.
//
// Copyright(c) 2018 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once

View File

@ -1,7 +1,7 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once
#include "spdlog/common.h" #include "spdlog/common.h"
#include "spdlog/details/periodic_worker.h" #include "spdlog/details/periodic_worker.h"

View File

@ -1,7 +1,5 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once

View File

@ -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" #include "spdlog/common.h"

View File

@ -1,3 +1,6 @@
// Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
#pragma once #pragma once
#include "spdlog/details/fmt_helper.h" #include "spdlog/details/fmt_helper.h"

View File

@ -1,7 +1,5 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once

View File

@ -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/sinks/sink.h"
#include "spdlog/details/pattern_formatter.h" #include "spdlog/details/pattern_formatter.h"

View File

@ -1,7 +1,5 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015-2108 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once

View File

@ -1,7 +1,5 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once

View File

@ -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/details/os.h"
template<typename TargetStream, typename ConsoleMutex> template<typename TargetStream, typename ConsoleMutex>

View File

@ -1,7 +1,5 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2017 spdlog authors.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once

View File

@ -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/common.h"
#include "spdlog/details/pattern_formatter.h" #include "spdlog/details/pattern_formatter.h"

View File

@ -1,7 +1,5 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once
// //

View File

@ -1,7 +1,5 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015-2018 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once

View File

@ -1,7 +1,5 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once

View File

@ -1,7 +1,5 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright (c) 2015 David Schury, Gabi Melman
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once

View File

@ -1,7 +1,5 @@
//
// Copyright(c) 2016 Alexander Dalshov. // Copyright(c) 2016 Alexander Dalshov.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once

View File

@ -1,7 +1,5 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once

View File

@ -1,7 +1,5 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once

View File

@ -1,7 +1,5 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once

View File

@ -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/common.h"
#include "spdlog/details/pattern_formatter.h" #include "spdlog/details/pattern_formatter.h"

View File

@ -1,12 +1,9 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once
#include "spdlog/details/log_msg.h" #include "spdlog/details/log_msg.h"
//#include "spdlog/details/pattern_formatter.h"
#include "spdlog/formatter.h" #include "spdlog/formatter.h"
namespace spdlog { namespace spdlog {

View File

@ -1,7 +1,5 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2018 spdlog
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once

View File

@ -1,7 +1,5 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once

View File

@ -1,7 +1,5 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once

View File

@ -1,7 +1,5 @@
//
// Copyright(c) 2019 ZVYAGIN.Alexander@gmail.com // Copyright(c) 2019 ZVYAGIN.Alexander@gmail.com
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once

View File

@ -1,7 +1,5 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2016 spdlog
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once

View File

@ -1,12 +1,12 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015-2018 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
// spdlog main header file. // spdlog main header file.
// see example.cpp for usage example // see example.cpp for usage example
#ifndef SPDLOG_H #ifndef SPDLOG_H
#define SPDLOG_H #define SPDLOG_H
#pragma once #pragma once
#include "spdlog/common.h" #include "spdlog/common.h"

View File

@ -1,7 +1,5 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once

View File

@ -1,7 +1,5 @@
// // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT) // Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#pragma once #pragma once

View File

@ -1,10 +1,12 @@
// Formatting library for C++
//
// Copyright (c) 2012 - 2016, Victor Zverovich // Copyright (c) 2012 - 2016, Victor Zverovich
// All rights reserved. // All rights reserved.
// //
// For the license information refer to format.h. // 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) #if !defined(SPDLOG_FMT_EXTERNAL)
#include "spdlog/fmt/bundled/format-inl.h" #include "spdlog/fmt/bundled/format-inl.h"
#else #else

View File

@ -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/spdlog.h"
#include "spdlog/details/null_mutex.h" #include "spdlog/details/null_mutex.h"