Skip to main content

ChangeLogLevel

Alters the ContractCase log level below this matcher. Useful for debugging.

This has no effect on matching.

Note that this log level matcher will be saved into the contract, so it will also affect the log level during verification. Usually you will want to remove the use of this matcher before saving the contract.

import { matchers } from '@contract-case/case-definition-dsl'

new matchers.convenience.ChangeLogLevel(logLevel: string, child: any)

Parameters

NameTypeDescription
logLevelstringThe new LogLevel.
One of "none"
childanyThe next matcher in the tree.