From 6a4674cac178241b5af0a586bebd3f60ff119886 Mon Sep 17 00:00:00 2001 From: Tim Hockin Date: Tue, 5 Jan 2021 10:35:27 -0800 Subject: [PATCH] Add missing header comments --- discard.go | 16 ++++++++++++++++ discard_test.go | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/discard.go b/discard.go index 267c796..b9d8419 100644 --- a/discard.go +++ b/discard.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The logr Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package logr // Discard returns a valid Logger that discards all messages logged to it. diff --git a/discard_test.go b/discard_test.go index 2ba2769..c14c37c 100644 --- a/discard_test.go +++ b/discard_test.go @@ -1,3 +1,19 @@ +/* +Copyright 2020 The logr Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package logr import (