From 0307c54893dbde60704478911ba25e34f6dec483 Mon Sep 17 00:00:00 2001 From: "hashicorp-copywrite[bot]" <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> Date: Wed, 1 Feb 2023 17:06:26 +0000 Subject: [PATCH] [COMPLIANCE] Add Copyright and License Headers --- colorize_unix.go | 3 +++ colorize_windows.go | 3 +++ context.go | 3 +++ context_test.go | 3 +++ exclude.go | 3 +++ exclude_test.go | 3 +++ global.go | 3 +++ hclogvet/example/log.go | 3 +++ hclogvet/main.go | 3 +++ interceptlogger.go | 3 +++ interceptlogger_test.go | 3 +++ intlogger.go | 3 +++ logger.go | 3 +++ logger_loc_test.go | 3 +++ logger_test.go | 3 +++ nulllogger.go | 3 +++ nulllogger_test.go | 3 +++ stdlog.go | 3 +++ stdlog_test.go | 3 +++ writer.go | 3 +++ 20 files changed, 60 insertions(+) diff --git a/colorize_unix.go b/colorize_unix.go index 99cc176..33fcca8 100644 --- a/colorize_unix.go +++ b/colorize_unix.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + //go:build !windows // +build !windows diff --git a/colorize_windows.go b/colorize_windows.go index 26f8cef..efa8106 100644 --- a/colorize_windows.go +++ b/colorize_windows.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + //go:build windows // +build windows diff --git a/context.go b/context.go index 7815f50..eb5aba5 100644 --- a/context.go +++ b/context.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package hclog import ( diff --git a/context_test.go b/context_test.go index d841d33..95a9f73 100644 --- a/context_test.go +++ b/context_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package hclog import ( diff --git a/exclude.go b/exclude.go index cfd4307..4b73ba5 100644 --- a/exclude.go +++ b/exclude.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package hclog import ( diff --git a/exclude_test.go b/exclude_test.go index 0f07999..d46e88f 100644 --- a/exclude_test.go +++ b/exclude_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package hclog import ( diff --git a/global.go b/global.go index 48ff1f3..a7403f5 100644 --- a/global.go +++ b/global.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package hclog import ( diff --git a/hclogvet/example/log.go b/hclogvet/example/log.go index 8bb2028..ca7fc45 100644 --- a/hclogvet/example/log.go +++ b/hclogvet/example/log.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package testdata import ( diff --git a/hclogvet/main.go b/hclogvet/main.go index 9e17280..010f545 100644 --- a/hclogvet/main.go +++ b/hclogvet/main.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package main import ( diff --git a/interceptlogger.go b/interceptlogger.go index ff42f1b..e9b1c18 100644 --- a/interceptlogger.go +++ b/interceptlogger.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package hclog import ( diff --git a/interceptlogger_test.go b/interceptlogger_test.go index f9d6412..b7c6b38 100644 --- a/interceptlogger_test.go +++ b/interceptlogger_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package hclog import ( diff --git a/intlogger.go b/intlogger.go index 89d26c9..1913413 100644 --- a/intlogger.go +++ b/intlogger.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package hclog import ( diff --git a/logger.go b/logger.go index 3cdb283..0360189 100644 --- a/logger.go +++ b/logger.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package hclog import ( diff --git a/logger_loc_test.go b/logger_loc_test.go index c9cc991..b01e33d 100644 --- a/logger_loc_test.go +++ b/logger_loc_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package hclog import ( diff --git a/logger_test.go b/logger_test.go index 22b3f72..2440c2b 100644 --- a/logger_test.go +++ b/logger_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package hclog import ( diff --git a/nulllogger.go b/nulllogger.go index 55e89dd..d43da80 100644 --- a/nulllogger.go +++ b/nulllogger.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package hclog import ( diff --git a/nulllogger_test.go b/nulllogger_test.go index bddbeb7..25f0e38 100644 --- a/nulllogger_test.go +++ b/nulllogger_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package hclog import ( diff --git a/stdlog.go b/stdlog.go index 641f20c..03739b6 100644 --- a/stdlog.go +++ b/stdlog.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package hclog import ( diff --git a/stdlog_test.go b/stdlog_test.go index 83cafab..b42159f 100644 --- a/stdlog_test.go +++ b/stdlog_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package hclog import ( diff --git a/writer.go b/writer.go index 421a1f0..4ee219b 100644 --- a/writer.go +++ b/writer.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MIT + package hclog import (