Skip to content

Commit

Permalink
trace-dispatcher: review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jutaro committed Nov 23, 2023
1 parent fb6a311 commit 010dda7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions trace-dispatcher/src/Cardano/Logging/Trace.hs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ withSeverity (Trace tr) = Trace $
(lc, Left e) -> (lc, Left e))
tr
where
{-# INLINE process #-}
process lc cont@(Right v) =
if isJust (lcSeverity lc)
then (lc,cont)
Expand Down Expand Up @@ -236,7 +235,6 @@ withPrivacy (Trace tr) = Trace $
(lc, Left e) -> (lc, Left e))
tr
where
{-# INLINE process #-}
process lc cont@(Right v) =
if isJust (lcPrivacy lc)
then (lc,cont)
Expand Down Expand Up @@ -268,7 +266,6 @@ withDetails (Trace tr) = Trace $
(lc, Left e) -> (lc, Left e))
tr
where
{-# INLINE process #-}
process lc cont@(Right v) =
if isJust (lcDetails lc)
then (lc,cont)
Expand Down
4 changes: 0 additions & 4 deletions trace-dispatcher/src/Cardano/Logging/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ module Cardano.Logging.Types (


import Codec.Serialise (Serialise (..))
-- import Data.Aeson ((.=))
import qualified Data.Aeson as AE
import qualified Data.HashMap.Strict as HM
import Data.IORef
Expand All @@ -68,12 +67,9 @@ import Network.HostName (HostName)

import qualified Control.Tracer as T

--

import Ouroboros.Network.Util.ShowProxy (ShowProxy (..))



-- | The Trace carries the underlying tracer Tracer from the contra-tracer package.
-- It adds a 'LoggingContext' and maybe a 'TraceControl' to every message.
newtype Trace m a = Trace
Expand Down

0 comments on commit 010dda7

Please sign in to comment.