Contents

SushiEngine::Logging

make_log_category

constexpr LogCategory make_log_category(std::string_view name, LogLevel default_level=LogLevel::Info) noexcept

Parameters

NameType
namestd::string_view
default_levelLogLevel

Returns

LogCategory

Description

Returns a category for name with default_level as its starting threshold.

Precondition

name refers to a string literal; the category keeps only the view.