Skip to content

Commit

Permalink
Renamed LogProcessor to LogRecordProcessor
Browse files Browse the repository at this point in the history
  • Loading branch information
evanlauer1 committed Jul 4, 2024
1 parent 7759f08 commit fd39cc4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/src/OpenTelemetry/LogRecordProcessor.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{- |
@LogProcessor@ is an interface which allows hooks for @LogRecord@ emit method invocations.
@LogRecordProcessor@ is an interface which allows hooks for @LogRecord@ emit method invocations.
Built-in log processors are responsible for batching and conversion of spans to exportable representation and passing batches to exporters.
Expand Down
2 changes: 1 addition & 1 deletion api/src/OpenTelemetry/Logging/Core.hs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ emptyLoggerProviderOptions =
You should generally use @getGlobalLoggerProvider@ for most applications.
-}
createLoggerProvider :: [LogRecordProcessor body] -> LoggerProviderOptions -> (LoggerProvider body)
createLoggerProvider :: [LogRecordProcessor body] -> LoggerProviderOptions -> LoggerProvider body
createLoggerProvider ps LoggerProviderOptions {..} =
LoggerProvider
{ loggerProviderProcessors = V.fromList ps
Expand Down
1 change: 0 additions & 1 deletion api/test/OpenTelemetry/Logging/CoreSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import qualified Data.HashMap.Strict as H
import Data.IORef
import qualified OpenTelemetry.Attributes as A
import OpenTelemetry.Internal.Logging.Types
import OpenTelemetry.Internal.Logging.Types (LoggerProvider (loggerProviderProcessors))
import qualified OpenTelemetry.LogAttributes as LA
import OpenTelemetry.Logging.Core
import OpenTelemetry.Resource
Expand Down

0 comments on commit fd39cc4

Please sign in to comment.