Skip to content

Commit

Permalink
chore:keeper liblong change
Browse files Browse the repository at this point in the history
  • Loading branch information
ruthishvitwit committed Dec 12, 2023
1 parent 22fd4a3 commit ca03ff4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x/consensus/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"
keeperutil "github.com/palomachain/paloma/util/keeper"
"github.com/palomachain/paloma/util/liblog"
"github.com/palomachain/paloma/x/consensus/types"
)

Expand Down Expand Up @@ -52,7 +53,7 @@ func NewKeeper(

func (k Keeper) Logger(ctx context.Context) log.Logger {
sdkCtx := sdk.UnwrapSDKContext(ctx)
return k.Logger(sdkCtx).With("module", fmt.Sprintf("x/%s", types.ModuleName))
return liblog.FromSDKLogger(k.Logger(sdkCtx)).With("module", fmt.Sprintf("x/%s", types.ModuleName))
}

func (k Keeper) Store(ctx context.Context) storetypes.KVStore {
Expand Down

0 comments on commit ca03ff4

Please sign in to comment.