25 lines
481 B
Python
25 lines
481 B
Python
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",
|
|
srcs = [
|
|
"example_test.go",
|
|
"log_test.go",
|
|
],
|
|
embed = [":logging"],
|
|
)
|