INVALIDLOGLEVEL
This error occurs when setting an invalid log level value.
Only valid values are "info"
, "warn"
and "error"
.
You can set them as:
import { log } from 'gymnast'
log.logLevel('error')
This example will only log errors omitting any informational ("info"
) or warning ("warn"
) messages.
Updated less than a minute ago