goutils/logging/BUILD.bazel

25 lines
481 B
Python
Raw Normal View History

2023-05-04 21:00:30 +00:00
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "logging",
srcs = [
"console_logger.go",
"doc.go",
"file.go",
"levels.go",
"log.go",
],
importpath = "git.wntrmute.dev/kyle/goutils/logging",
visibility = ["//visibility:public"],
)
go_test(
name = "logging_test",
size = "small",
2023-05-04 21:00:30 +00:00
srcs = [
"example_test.go",
"log_test.go",
],
embed = [":logging"],
)