Typeberry by Fluffy Labs - v0.5.0
    Preparing search index...

    Function findLevel

    • Find a configured log level for given module.

      The function will attempt to find the most detailed level for given module by checking if logging is configured for it's parent modules if it's not for the specific name.

      E.g. consensus/voting

      We can have no level configured for consensus/voting, but if there is a WARN level for consensus, this function would return Level.WARN even though the default log level might be Level.LOG.

      Parameters

      Returns Level