load("@prysm//tools/go:def.bzl", "go_library", "go_test") go_library( name = "go_default_library", srcs = [ "hook.go", "logutil.go", "stream.go", ], importpath = "github.com/OffchainLabs/prysm/v7/io/logs", visibility = ["//visibility:public"], deps = [ "//async/event:go_default_library", "//cache/lru:go_default_library", "//config/params:go_default_library", "//crypto/rand:go_default_library", "//io/file:go_default_library", "//runtime/logging/logrus-prefixed-formatter:go_default_library", "@com_github_hashicorp_golang_lru//:go_default_library", "@com_github_pkg_errors//:go_default_library", "@com_github_sirupsen_logrus//:go_default_library", "@in_gopkg_natefinch_lumberjack_v2//:go_default_library", ], ) go_test( name = "go_default_test", srcs = [ "logutil_test.go", "stream_test.go", ], embed = [":go_default_library"], deps = [ "//testing/require:go_default_library", "@com_github_sirupsen_logrus//:go_default_library", ], )