Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add LogMessage and move LogStabilityLevel #5633

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix impi
  • Loading branch information
codeboten committed Jul 7, 2022
commit da93c500f3f6301ab538a26da47c481749e38f52
3 changes: 2 additions & 1 deletion service/internal/components/components.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
package components // import "go.opentelemetry.io/collector/service/internal/components"

import (
"go.opentelemetry.io/collector/component"
"go.uber.org/zap"

"go.opentelemetry.io/collector/component"
)

// LogStabilityLevel logs the stability level of a component. The log level is set to info for
Expand Down
3 changes: 2 additions & 1 deletion service/internal/components/components_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ import (
"testing"

"github.com/stretchr/testify/require"
"go.opentelemetry.io/collector/component"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"
"go.uber.org/zap/zaptest/observer"

"go.opentelemetry.io/collector/component"
)

func TestLogStabilityLevle(t *testing.T) {
codeboten marked this conversation as resolved.
Show resolved Hide resolved
Expand Down