crystal.log.set_verbosity

Sets the verbosity cutoff below which log messages are ignored.

Usage

crystal.log.set_verbosity(verbosity)

Arguments

Name Type Description
verbosity Verbosity Most verbose message level that will appear in the log.

Examples

crystal.log.set_verbosity("error"); -- Ignore all `debug`, `info` and `warning` messages.

This site uses Just the Docs, a documentation theme for Jekyll.