Skip to content

Commit

Permalink
chore(warp): turn down logging in warp
Browse files Browse the repository at this point in the history
These logs can be very noisy - particularly when a contract has failed interactions on it. Setting it to fatal should reduce a bit.
  • Loading branch information
dtfiedler committed Dec 15, 2023
1 parent af96b81 commit 58440ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/contract/warp-contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import {
InteractionResult,
Tag,
Warp,
LoggerFactory,
WriteInteractionOptions,
WriteInteractionResponse,
} from 'warp-contracts/mjs';
Expand Down Expand Up @@ -71,6 +72,9 @@ export class WarpContract implements ObserverContract {
private contract: Contract;
private evaluationOptions: Partial<EvaluationOptions> | undefined;

// Warp logger
LoggerFactory.INST.logLevel('fatal');

constructor({
log,
wallet,
Expand Down

0 comments on commit 58440ce

Please sign in to comment.