struct LogCategoryBase

Base class for all log categories.

Public

Constructors

LogCategoryBase

LogCategoryBase(const char *name, LogVerbosity defaultMaximumVerbosity)

Methods

~LogCategoryBase

~LogCategoryBase() noexcept

GetName

const char *GetName() const

Returns the name of the category.

GetMaximumVerbosity

LogVerbosity GetMaximumVerbosity() const

Determines the maximum verbosity reported by this category.

Verbosity levels higher than this will not be reported.

IsVerbositySupressed

bool IsVerbositySupressed(LogVerbosity verbosity)

Returns true is the provided verbosity suppressed for this category.

Private

Methods

SetMaximumVerbosity

void SetMaximumVerbosity(LogVerbosity maximumVerbosity)

Fields

mName

const char * mName

mDefaultMaximumVerbosity

LogVerbosity mDefaultMaximumVerbosity

mMaximumVerbosity

LogVerbosity mMaximumVerbosity