Skip to content

Commit

Permalink
Update name: emit => on_emit
Browse files Browse the repository at this point in the history
  • Loading branch information
kaylareopelle committed Oct 4, 2023
1 parent 7f58e0b commit 28d4f3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logs_sdk/lib/opentelemetry/sdk/logs/log_record_processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ module Logs
class LogRecordProcessor
# Called when a {LogRecord} is emitted. Subsequent calls are not
# permitted after shutdown is called.
# @param [LogRecord] log_record The emitted {ReadWriteLogRecord}
# @param [LogRecord] log_record The emitted {LogRecord}
# @param [Context] context The resolved Context
def emit(log_record, context); end
def on_emit(log_record, context); end

# Export all log records to the configured `Exporter` that have not yet
# been exported.
Expand Down

0 comments on commit 28d4f3a

Please sign in to comment.