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",
|
|
|
|
srcs = [
|
|
|
|
"example_test.go",
|
|
|
|
"log_test.go",
|
|
|
|
],
|
|
|
|
embed = [":logging"],
|
2023-05-04 22:11:15 +00:00
|
|
|
size = "small",
|
2023-05-04 21:00:30 +00:00
|
|
|
)
|