github.com/amazechain/amc@v0.1.3/log/logrus-prefixed-formatter/BUILD.bazel (about) 1 load("@prysm//tools/go:def.bzl", "go_library", "go_test") 2 3 go_library( 4 name = "go_default_library", 5 srcs = ["formatter.go"], 6 importpath = "github.com/prysmaticlabs/prysm/v3/runtime/logging/logrus-prefixed-formatter", 7 visibility = ["//visibility:public"], 8 deps = [ 9 "@com_github_mgutz_ansi//:go_default_library", 10 "@com_github_sirupsen_logrus//:go_default_library", 11 "@org_golang_x_crypto//ssh/terminal:go_default_library", 12 ], 13 ) 14 15 go_test( 16 name = "go_default_test", 17 srcs = [ 18 "formatter_test.go", 19 "logrus_prefixed_formatter_suite_test.go", 20 ], 21 deps = [ 22 ":go_default_library", 23 "//testing/require:go_default_library", 24 "@com_github_onsi_ginkgo//:go_default_library", 25 "@com_github_onsi_gomega//:go_default_library", 26 "@com_github_pkg_errors//:go_default_library", 27 "@com_github_sirupsen_logrus//:go_default_library", 28 ], 29 )