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"
int main(int, char *[]) {
int main(int, char *[])
{
int i = 123;
spdlog::info("HELLO STATIC! {}", i);
}

View File

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

View File

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

View File

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

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 Gabi Melman.
// 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) 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

View File

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

View File

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

View File

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

View File

@ -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 <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/sinks/sink.h"

View File

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

View File

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

View File

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

View File

@ -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 <algorithm>
#include <chrono>
#include <cstdio>

View File

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

View File

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

View File

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

View File

@ -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<void()> &callback_fun, std::chrono::seconds interval)
{

View File

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

View File

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

View File

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

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"

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

View File

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

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/details/pattern_formatter.h"

View File

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

View File

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

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"
template<typename TargetStream, typename ConsoleMutex>

View File

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

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/details/pattern_formatter.h"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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/details/pattern_formatter.h"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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/details/null_mutex.h"