From e545a8b4e8cfaf4b3c6b92fea42e7843fe5a12f6 Mon Sep 17 00:00:00 2001 From: Mykhailo Shevchuk Date: Thu, 24 Mar 2022 00:17:58 +0200 Subject: [PATCH] Bumped year in headers & LICENSE --- LICENSE | 4 ++-- src/Serilog.Sinks.Grafana.Loki/DictionaryComparer.cs | 4 ++-- .../HttpClients/BaseLokiHttpClient.cs | 2 +- .../HttpClients/LokiGzipHttpClient.cs | 2 +- src/Serilog.Sinks.Grafana.Loki/HttpClients/LokiHttpClient.cs | 2 +- src/Serilog.Sinks.Grafana.Loki/ILabelAwareTextFormatter.cs | 4 ++-- src/Serilog.Sinks.Grafana.Loki/ILokiBatchFormatter.cs | 2 +- src/Serilog.Sinks.Grafana.Loki/ILokiHttpClient.cs | 2 +- src/Serilog.Sinks.Grafana.Loki/Infrastructure/BoundedQueue.cs | 2 +- .../Infrastructure/ExponentialBackoffConnectionSchedule.cs | 2 +- .../Infrastructure/PortableTimer.cs | 2 +- .../LoggerConfigurationLokiExtensions.cs | 2 +- src/Serilog.Sinks.Grafana.Loki/LokiCredentials.cs | 2 +- src/Serilog.Sinks.Grafana.Loki/LokiJsonTextFormatter.cs | 2 +- src/Serilog.Sinks.Grafana.Loki/LokiLabel.cs | 2 +- src/Serilog.Sinks.Grafana.Loki/LokiLabelFiltrationMode.cs | 2 +- src/Serilog.Sinks.Grafana.Loki/LokiSink.cs | 2 +- src/Serilog.Sinks.Grafana.Loki/Models/LokiBatch.cs | 2 +- src/Serilog.Sinks.Grafana.Loki/Models/LokiStream.cs | 2 +- .../Utils/DateTimeOffsetExtensions.cs | 2 +- src/Serilog.Sinks.Grafana.Loki/Utils/Encoding.cs | 2 +- .../Utils/LogEventLevelExtensions.cs | 2 +- src/Serilog.Sinks.Grafana.Loki/Utils/LokiRoutesBuilder.cs | 2 +- 23 files changed, 26 insertions(+), 26 deletions(-) diff --git a/LICENSE b/LICENSE index 71bd5d9..1a77a7f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020 Mykhailo Shevchuk & Contributors +Copyright (c) 2020-2022 Mykhailo Shevchuk & Contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +SOFTWARE. \ No newline at end of file diff --git a/src/Serilog.Sinks.Grafana.Loki/DictionaryComparer.cs b/src/Serilog.Sinks.Grafana.Loki/DictionaryComparer.cs index 8f949e0..33ee976 100644 --- a/src/Serilog.Sinks.Grafana.Loki/DictionaryComparer.cs +++ b/src/Serilog.Sinks.Grafana.Loki/DictionaryComparer.cs @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Mykhailo Shevchuk & Contributors +// Copyright 2020-2022 Mykhailo Shevchuk & Contributors // // Licensed under the MIT license; // you may not use this file except in compliance with the License. @@ -53,4 +53,4 @@ public int GetHashCode(IDictionary obj) } } } -} +} \ No newline at end of file diff --git a/src/Serilog.Sinks.Grafana.Loki/HttpClients/BaseLokiHttpClient.cs b/src/Serilog.Sinks.Grafana.Loki/HttpClients/BaseLokiHttpClient.cs index e36851c..d498b79 100644 --- a/src/Serilog.Sinks.Grafana.Loki/HttpClients/BaseLokiHttpClient.cs +++ b/src/Serilog.Sinks.Grafana.Loki/HttpClients/BaseLokiHttpClient.cs @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Mykhailo Shevchuk & Contributors +// Copyright 2020-2022 Mykhailo Shevchuk & Contributors // // Licensed under the MIT license; // you may not use this file except in compliance with the License. diff --git a/src/Serilog.Sinks.Grafana.Loki/HttpClients/LokiGzipHttpClient.cs b/src/Serilog.Sinks.Grafana.Loki/HttpClients/LokiGzipHttpClient.cs index 6ebec5f..ce3a10f 100644 --- a/src/Serilog.Sinks.Grafana.Loki/HttpClients/LokiGzipHttpClient.cs +++ b/src/Serilog.Sinks.Grafana.Loki/HttpClients/LokiGzipHttpClient.cs @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Mykhailo Shevchuk & Contributors +// Copyright 2020-2022 Mykhailo Shevchuk & Contributors // // Licensed under the MIT license; // you may not use this file except in compliance with the License. diff --git a/src/Serilog.Sinks.Grafana.Loki/HttpClients/LokiHttpClient.cs b/src/Serilog.Sinks.Grafana.Loki/HttpClients/LokiHttpClient.cs index 105dfaa..7a9d0a5 100644 --- a/src/Serilog.Sinks.Grafana.Loki/HttpClients/LokiHttpClient.cs +++ b/src/Serilog.Sinks.Grafana.Loki/HttpClients/LokiHttpClient.cs @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Mykhailo Shevchuk & Contributors +// Copyright 2020-2022 Mykhailo Shevchuk & Contributors // // Licensed under the MIT license; // you may not use this file except in compliance with the License. diff --git a/src/Serilog.Sinks.Grafana.Loki/ILabelAwareTextFormatter.cs b/src/Serilog.Sinks.Grafana.Loki/ILabelAwareTextFormatter.cs index 255eb63..52c04ea 100644 --- a/src/Serilog.Sinks.Grafana.Loki/ILabelAwareTextFormatter.cs +++ b/src/Serilog.Sinks.Grafana.Loki/ILabelAwareTextFormatter.cs @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Mykhailo Shevchuk & Contributors +// Copyright 2020-2022 Mykhailo Shevchuk & Contributors // // Licensed under the MIT license; // you may not use this file except in compliance with the License. @@ -32,4 +32,4 @@ public interface ILabelAwareTextFormatter /// List of labels that are attached to this stream public void Format(LogEvent logEvent, TextWriter output, IEnumerable labels); } -} +} \ No newline at end of file diff --git a/src/Serilog.Sinks.Grafana.Loki/ILokiBatchFormatter.cs b/src/Serilog.Sinks.Grafana.Loki/ILokiBatchFormatter.cs index bfd69c7..d1f7aef 100644 --- a/src/Serilog.Sinks.Grafana.Loki/ILokiBatchFormatter.cs +++ b/src/Serilog.Sinks.Grafana.Loki/ILokiBatchFormatter.cs @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Mykhailo Shevchuk & Contributors +// Copyright 2020-2022 Mykhailo Shevchuk & Contributors // // Licensed under the MIT license; // you may not use this file except in compliance with the License. diff --git a/src/Serilog.Sinks.Grafana.Loki/ILokiHttpClient.cs b/src/Serilog.Sinks.Grafana.Loki/ILokiHttpClient.cs index 6742691..a85b53d 100644 --- a/src/Serilog.Sinks.Grafana.Loki/ILokiHttpClient.cs +++ b/src/Serilog.Sinks.Grafana.Loki/ILokiHttpClient.cs @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Mykhailo Shevchuk & Contributors +// Copyright 2020-2022 Mykhailo Shevchuk & Contributors // // Licensed under the MIT license; // you may not use this file except in compliance with the License. diff --git a/src/Serilog.Sinks.Grafana.Loki/Infrastructure/BoundedQueue.cs b/src/Serilog.Sinks.Grafana.Loki/Infrastructure/BoundedQueue.cs index 4fbd730..985bcda 100644 --- a/src/Serilog.Sinks.Grafana.Loki/Infrastructure/BoundedQueue.cs +++ b/src/Serilog.Sinks.Grafana.Loki/Infrastructure/BoundedQueue.cs @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Mykhailo Shevchuk & Contributors +// Copyright 2020-2022 Mykhailo Shevchuk & Contributors // // Licensed under the MIT license; // you may not use this file except in compliance with the License. diff --git a/src/Serilog.Sinks.Grafana.Loki/Infrastructure/ExponentialBackoffConnectionSchedule.cs b/src/Serilog.Sinks.Grafana.Loki/Infrastructure/ExponentialBackoffConnectionSchedule.cs index 7946874..5b76fee 100644 --- a/src/Serilog.Sinks.Grafana.Loki/Infrastructure/ExponentialBackoffConnectionSchedule.cs +++ b/src/Serilog.Sinks.Grafana.Loki/Infrastructure/ExponentialBackoffConnectionSchedule.cs @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Mykhailo Shevchuk & Contributors +// Copyright 2020-2022 Mykhailo Shevchuk & Contributors // // Licensed under the MIT license; // you may not use this file except in compliance with the License. diff --git a/src/Serilog.Sinks.Grafana.Loki/Infrastructure/PortableTimer.cs b/src/Serilog.Sinks.Grafana.Loki/Infrastructure/PortableTimer.cs index f1a56ec..5f18f00 100644 --- a/src/Serilog.Sinks.Grafana.Loki/Infrastructure/PortableTimer.cs +++ b/src/Serilog.Sinks.Grafana.Loki/Infrastructure/PortableTimer.cs @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Mykhailo Shevchuk & Contributors +// Copyright 2020-2022 Mykhailo Shevchuk & Contributors // // Licensed under the MIT license; // you may not use this file except in compliance with the License. diff --git a/src/Serilog.Sinks.Grafana.Loki/LoggerConfigurationLokiExtensions.cs b/src/Serilog.Sinks.Grafana.Loki/LoggerConfigurationLokiExtensions.cs index 8e36731..58b66ea 100644 --- a/src/Serilog.Sinks.Grafana.Loki/LoggerConfigurationLokiExtensions.cs +++ b/src/Serilog.Sinks.Grafana.Loki/LoggerConfigurationLokiExtensions.cs @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Mykhailo Shevchuk & Contributors +// Copyright 2020-2022 Mykhailo Shevchuk & Contributors // // Licensed under the MIT license; // you may not use this file except in compliance with the License. diff --git a/src/Serilog.Sinks.Grafana.Loki/LokiCredentials.cs b/src/Serilog.Sinks.Grafana.Loki/LokiCredentials.cs index 08eabd3..c371c6f 100644 --- a/src/Serilog.Sinks.Grafana.Loki/LokiCredentials.cs +++ b/src/Serilog.Sinks.Grafana.Loki/LokiCredentials.cs @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Mykhailo Shevchuk & Contributors +// Copyright 2020-2022 Mykhailo Shevchuk & Contributors // // Licensed under the MIT license; // you may not use this file except in compliance with the License. diff --git a/src/Serilog.Sinks.Grafana.Loki/LokiJsonTextFormatter.cs b/src/Serilog.Sinks.Grafana.Loki/LokiJsonTextFormatter.cs index dca31cb..5dd78da 100644 --- a/src/Serilog.Sinks.Grafana.Loki/LokiJsonTextFormatter.cs +++ b/src/Serilog.Sinks.Grafana.Loki/LokiJsonTextFormatter.cs @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Mykhailo Shevchuk & Contributors +// Copyright 2020-2022 Mykhailo Shevchuk & Contributors // // Licensed under the MIT license; // you may not use this file except in compliance with the License. diff --git a/src/Serilog.Sinks.Grafana.Loki/LokiLabel.cs b/src/Serilog.Sinks.Grafana.Loki/LokiLabel.cs index 180100c..a4fe26a 100644 --- a/src/Serilog.Sinks.Grafana.Loki/LokiLabel.cs +++ b/src/Serilog.Sinks.Grafana.Loki/LokiLabel.cs @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Mykhailo Shevchuk & Contributors +// Copyright 2020-2022 Mykhailo Shevchuk & Contributors // // Licensed under the MIT license; // you may not use this file except in compliance with the License. diff --git a/src/Serilog.Sinks.Grafana.Loki/LokiLabelFiltrationMode.cs b/src/Serilog.Sinks.Grafana.Loki/LokiLabelFiltrationMode.cs index a39c3f4..6796c51 100644 --- a/src/Serilog.Sinks.Grafana.Loki/LokiLabelFiltrationMode.cs +++ b/src/Serilog.Sinks.Grafana.Loki/LokiLabelFiltrationMode.cs @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Mykhailo Shevchuk & Contributors +// Copyright 2020-2022 Mykhailo Shevchuk & Contributors // // Licensed under the MIT license; // you may not use this file except in compliance with the License. diff --git a/src/Serilog.Sinks.Grafana.Loki/LokiSink.cs b/src/Serilog.Sinks.Grafana.Loki/LokiSink.cs index 9060729..cf9d736 100644 --- a/src/Serilog.Sinks.Grafana.Loki/LokiSink.cs +++ b/src/Serilog.Sinks.Grafana.Loki/LokiSink.cs @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Mykhailo Shevchuk & Contributors +// Copyright 2020-2022 Mykhailo Shevchuk & Contributors // // Licensed under the MIT license; // you may not use this file except in compliance with the License. diff --git a/src/Serilog.Sinks.Grafana.Loki/Models/LokiBatch.cs b/src/Serilog.Sinks.Grafana.Loki/Models/LokiBatch.cs index db74441..e57002c 100644 --- a/src/Serilog.Sinks.Grafana.Loki/Models/LokiBatch.cs +++ b/src/Serilog.Sinks.Grafana.Loki/Models/LokiBatch.cs @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Mykhailo Shevchuk & Contributors +// Copyright 2020-2022 Mykhailo Shevchuk & Contributors // // Licensed under the MIT license; // you may not use this file except in compliance with the License. diff --git a/src/Serilog.Sinks.Grafana.Loki/Models/LokiStream.cs b/src/Serilog.Sinks.Grafana.Loki/Models/LokiStream.cs index 4b07f96..f016be3 100644 --- a/src/Serilog.Sinks.Grafana.Loki/Models/LokiStream.cs +++ b/src/Serilog.Sinks.Grafana.Loki/Models/LokiStream.cs @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Mykhailo Shevchuk & Contributors +// Copyright 2020-2022 Mykhailo Shevchuk & Contributors // // Licensed under the MIT license; // you may not use this file except in compliance with the License. diff --git a/src/Serilog.Sinks.Grafana.Loki/Utils/DateTimeOffsetExtensions.cs b/src/Serilog.Sinks.Grafana.Loki/Utils/DateTimeOffsetExtensions.cs index 7eacec5..d1700cb 100644 --- a/src/Serilog.Sinks.Grafana.Loki/Utils/DateTimeOffsetExtensions.cs +++ b/src/Serilog.Sinks.Grafana.Loki/Utils/DateTimeOffsetExtensions.cs @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Mykhailo Shevchuk & Contributors +// Copyright 2020-2022 Mykhailo Shevchuk & Contributors // // Licensed under the MIT license; // you may not use this file except in compliance with the License. diff --git a/src/Serilog.Sinks.Grafana.Loki/Utils/Encoding.cs b/src/Serilog.Sinks.Grafana.Loki/Utils/Encoding.cs index f495b56..125274b 100644 --- a/src/Serilog.Sinks.Grafana.Loki/Utils/Encoding.cs +++ b/src/Serilog.Sinks.Grafana.Loki/Utils/Encoding.cs @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Mykhailo Shevchuk & Contributors +// Copyright 2020-2022 Mykhailo Shevchuk & Contributors // // Licensed under the MIT license; // you may not use this file except in compliance with the License. diff --git a/src/Serilog.Sinks.Grafana.Loki/Utils/LogEventLevelExtensions.cs b/src/Serilog.Sinks.Grafana.Loki/Utils/LogEventLevelExtensions.cs index 5cc6633..0248d8e 100644 --- a/src/Serilog.Sinks.Grafana.Loki/Utils/LogEventLevelExtensions.cs +++ b/src/Serilog.Sinks.Grafana.Loki/Utils/LogEventLevelExtensions.cs @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Mykhailo Shevchuk & Contributors +// Copyright 2020-2022 Mykhailo Shevchuk & Contributors // // Licensed under the MIT license; // you may not use this file except in compliance with the License. diff --git a/src/Serilog.Sinks.Grafana.Loki/Utils/LokiRoutesBuilder.cs b/src/Serilog.Sinks.Grafana.Loki/Utils/LokiRoutesBuilder.cs index 136266b..4a44331 100644 --- a/src/Serilog.Sinks.Grafana.Loki/Utils/LokiRoutesBuilder.cs +++ b/src/Serilog.Sinks.Grafana.Loki/Utils/LokiRoutesBuilder.cs @@ -1,4 +1,4 @@ -// Copyright 2020-2021 Mykhailo Shevchuk & Contributors +// Copyright 2020-2022 Mykhailo Shevchuk & Contributors // // Licensed under the MIT license; // you may not use this file except in compliance with the License.