AuroraRuntime/Include/Aurora/Logging/LogClasses.hpp
Reece a60c1e9503 [+] AuLog.LogClassGetNext
[+] AuLog.LogClassRelease
[+] AuLog.LogClassAssociateName
[+] AuLog.LogClassGetNameSafe
[+] AuLog.LogClassGetNameUnsafe
[+] AuLog.LogClassInUse
[+] AuLog.LogClassTotalInUse
[+] AuLog.LogClassTotalAvailable
2023-03-23 00:01:49 +00:00

28 lines
744 B
C++

/***
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);
AUKN_SYM void LogClassAssociateName(AuUInt8 uIndex, const AuString &str);
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();
}