Represents the warning stack validation mode. In this mode, the stack is always kept in a valid state. A warning is logged if the stack transitions to an invalid state.
A function that logs a warning message.