IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
log_tag.hxx File Reference
#include <ice/hash.hxx>
#include <ice/string.hxx>

Go to the source code of this file.

Classes

struct  ice::LogTagDefinition

Namespaces

namespace  ice
 SPDX-License-Identifier: MIT.
namespace  ice::detail

Enumerations

enum class  ice::LogTag : ice::u64 {
  ice::None = 0x0 , ice::Core = 0x1ull << 0 , ice::System = Core << 1 , ice::Module = Core << 2 ,
  ice::Engine = Core << 3 , ice::Asset = Core << 4 , ice::Game = Core << 5 , ice::Tool = Core << 24
}

Functions

constexpr auto ice::create_log_tag (LogTag base_tag, ice::String name) noexcept -> LogTagDefinition
constexpr auto ice::create_log_tag (LogTagDefinition const &base_tag_def, ice::String name) noexcept -> LogTagDefinition
void ice::log_tag_register (ice::LogTagDefinition tag_def) noexcept
void ice::log_tag_enable (ice::LogTag tag, bool enabled=true) noexcept
constexpr auto ice::detail::get_tag (ice::LogTag tag) noexcept
constexpr auto ice::detail::get_tag (ice::LogTagDefinition const &tag_def) noexcept