Skip to content

Commit

Permalink
chore: Fix log message to use on_emit
Browse files Browse the repository at this point in the history
  • Loading branch information
kaylareopelle committed Sep 17, 2024
1 parent 6c0a889 commit 85547cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/test_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class TestController < ApplicationController
def index
# Manually emit a log from the OpenTelemetry Logger
APP_LOGGER.on_emit(
body: 'Reporting from APP_LOGGER.emit',
body: 'Reporting from APP_LOGGER.on_emit',
severity_text: 'DEBUG',
attributes: { 'test' => 'attribute' }
)
Expand Down

0 comments on commit 85547cd

Please sign in to comment.