From f793a05288247ac6af1d44fbc3d843b408d51596 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 5 Feb 2025 06:28:51 -0600 Subject: switch to Disabled() --- bool.go | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 bool.go (limited to 'bool.go') diff --git a/bool.go b/bool.go deleted file mode 100644 index 7bcefa2..0000000 --- a/bool.go +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright 2024 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package log - -func Bool(b bool, a ...any) { - if !b { - return - } - realPrintln(a...) -} -- cgit v1.2.3