2023-03-23 00:01:49 +00:00
|
|
|
/***
|
|
|
|
Copyright (C) 2023 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
|
|
|
|
File: LogClasses.hpp
|
|
|
|
Date: 2023-3-22
|
|
|
|
Author: Reece
|
|
|
|
***/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace Aurora::Logging
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @brief Allocates a number between kLogLevelUsr and kLogLevelMax
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
AUKN_SYM AuResult<AuUInt8> LogClassGetNext();
|
|
|
|
AUKN_SYM void LogClassRelease(AuUInt8 uIndex);
|
|
|
|
|
2023-12-26 21:01:29 +00:00
|
|
|
AUKN_SYM bool LogClassAssociateName(AuUInt8 uIndex, const AuString &str);
|
2023-03-23 00:01:49 +00:00
|
|
|
|
|
|
|
AUKN_SYM AuString LogClassGetNameSafe(AuUInt8 uIndex);
|
|
|
|
AUKN_SYM const AuString &LogClassGetNameUnsafe(AuUInt8 uIndex);
|
|
|
|
|
|
|
|
AUKN_SYM bool LogClassInUse(AuUInt8 uIndex);
|
|
|
|
|
|
|
|
AUKN_SYM AuUInt8 LogClassTotalInUse();
|
|
|
|
AUKN_SYM AuUInt8 LogClassTotalAvailable();
|
|
|
|
}
|