diff --git a/plugin/datadog.go b/plugin/datadog.go index bf7e0be..d24ee8b 100644 --- a/plugin/datadog.go +++ b/plugin/datadog.go @@ -22,8 +22,6 @@ var _ plugin.PluginTracer = &DatadogPlugin{} var tracerName = "go-ipfs" -const tracerNameKey = "IpfsTracerName" - // "Plugins": { // "datadog": { // "Config": { diff --git a/plugin/logger.go b/plugin/logger.go index c896777..37d3eb9 100644 --- a/plugin/logger.go +++ b/plugin/logger.go @@ -9,10 +9,6 @@ import ( "github.com/ipfs/go-ipfs/plugin" ) -// LoggerPlugin controls which ipfs subsystems loggers are enabled -// These subsystems are defined in ipfs config Plugins -type LoggerPlugin struct{} - var _ plugin.Plugin = &LoggerPlugin{} // "Plugins": { @@ -32,6 +28,10 @@ type loggerConfig struct { LogLevel string } +// LoggerPlugin controls which ipfs subsystems loggers are enabled +// These subsystems are defined in ipfs config Plugins +type LoggerPlugin struct{} + func (l LoggerPlugin) Name() string { return "logger" }