AuroraRuntime/Include/Aurora/Logging/LogClasses.hpp

28 lines
744 B
C++
Raw Normal View History

/***
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 bool 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();
}