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

Go to the source code of this file.

Classes

struct  ice::LogSinkMessage

Namespaces

namespace  ice
 SPDX-License-Identifier: MIT.

Typedefs

using ice::LogSinkFn = void(*)(void* userdata, ice::LogSinkMessage const& message) noexcept

Enumerations

enum class  ice::LogSinkID : uint8_t { ice::Invalid = 0 }

Functions

auto ice::log_module_register_sink (LogSinkFn fn_sink, void *userdata) noexcept -> ice::LogSinkID
void ice::log_module_unregister_sink (ice::LogSinkID sink_id) noexcept