2023-03-09 09:23:42 -05:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "logger",
|
|
|
|
srcs = [
|
|
|
|
"cmdline.go",
|
2023-08-29 08:07:19 -04:00
|
|
|
"grpclogger.go",
|
2023-03-09 09:23:42 -05:00
|
|
|
"log.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/edgelesssys/constellation/v2/internal/logger",
|
|
|
|
visibility = ["//:__subpackages__"],
|
|
|
|
deps = [
|
2023-08-29 08:07:19 -04:00
|
|
|
"@com_github_grpc_ecosystem_go_grpc_middleware_v2//interceptors/logging",
|
2023-03-09 09:23:42 -05:00
|
|
|
"@org_golang_google_grpc//:go_default_library",
|
2023-08-29 08:07:19 -04:00
|
|
|
"@org_golang_google_grpc//grpclog",
|
2023-03-09 09:23:42 -05:00
|
|
|
"@org_uber_go_zap//:zap",
|
|
|
|
"@org_uber_go_zap//zapcore",
|
|
|
|
"@org_uber_go_zap//zaptest",
|
|
|
|
],
|
|
|
|
)
|