summaryrefslogtreecommitdiff
path: root/warn.go
blob: d115e6e5a4cd61e3b67a4d6eda95beeaa88ada6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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 Warn(a ...any) {
	if WARN.Disabled() {
		return
	}
	realPrintln(a...)
}