Skip to content

ludus::foundation::logging::FormatArg

Ludus Wiki · API overview · Browse API

Struct

Small POD carried on the producer stack.
Strings are BORROWED only for the duration of the submit call; the engine copies formatted bytes into a bounded buffer before returning, so nothing borrowed escapes (requirements R24).

Declared in modules/foundation/logging/include/ludus/foundation/logging/log_format.hpp

#include <ludus/foundation/logging/log_format.hpp>
struct ludus::foundation::logging::FormatArg

Fields

Tag

ArgTag ludus::foundation::logging::FormatArg::Tag

Related types: ArgTag

Declared in modules/foundation/logging/include/ludus/foundation/logging/log_format.hpp

@031075250106237137166351235055100212104056132124

union ludus::foundation::logging::FormatArg::@007201074273340053303366024312162140142152063377 ludus::foundation::logging::FormatArg::@031075250106237137166351235055100212104056132124

Declared in modules/foundation/logging/include/ludus/foundation/logging/log_format.hpp

Methods

FormatArg

ludus::foundation::logging::FormatArg::FormatArg(std::string_view s) noexcept

Declared in modules/foundation/logging/include/ludus/foundation/logging/log_format.hpp

FormatArg

ludus::foundation::logging::FormatArg::FormatArg(const char *s) noexcept

Declared in modules/foundation/logging/include/ludus/foundation/logging/log_format.hpp

FormatArg

ludus::foundation::logging::FormatArg::FormatArg(bool b) noexcept

Declared in modules/foundation/logging/include/ludus/foundation/logging/log_format.hpp

FormatArg

ludus::foundation::logging::FormatArg::FormatArg(int8 v) noexcept

Related types: int8

Declared in modules/foundation/logging/include/ludus/foundation/logging/log_format.hpp

FormatArg

ludus::foundation::logging::FormatArg::FormatArg(int16 v) noexcept

Related types: int16

Declared in modules/foundation/logging/include/ludus/foundation/logging/log_format.hpp

FormatArg

ludus::foundation::logging::FormatArg::FormatArg(int32 v) noexcept

Related types: int32

Declared in modules/foundation/logging/include/ludus/foundation/logging/log_format.hpp

FormatArg

ludus::foundation::logging::FormatArg::FormatArg(int64 v) noexcept

Related types: int64

Declared in modules/foundation/logging/include/ludus/foundation/logging/log_format.hpp

FormatArg

ludus::foundation::logging::FormatArg::FormatArg(uint8 v) noexcept

Related types: uint8

Declared in modules/foundation/logging/include/ludus/foundation/logging/log_format.hpp

FormatArg

ludus::foundation::logging::FormatArg::FormatArg(uint16 v) noexcept

Related types: uint16

Declared in modules/foundation/logging/include/ludus/foundation/logging/log_format.hpp

FormatArg

ludus::foundation::logging::FormatArg::FormatArg(uint32 v) noexcept

Related types: uint32

Declared in modules/foundation/logging/include/ludus/foundation/logging/log_format.hpp

FormatArg

ludus::foundation::logging::FormatArg::FormatArg(uint64 v) noexcept

Related types: uint64

Declared in modules/foundation/logging/include/ludus/foundation/logging/log_format.hpp

FormatArg

template <typename T>
ludus::foundation::logging::FormatArg::FormatArg(T v) noexcept
requires std::is_same_v<T, usize>
Packs a native unsigned size without allocation as an unsigned 64-bit value. Native sizes need not share the fixed-width aliases' underlying type (Darwin uses unsigned long for usize and unsigned long long for uint64). Existing non-template overloads remain preferred when aliases coincide.

Declared in modules/foundation/logging/include/ludus/foundation/logging/log_format.hpp

FormatArg

template <typename T>
ludus::foundation::logging::FormatArg::FormatArg(T v) noexcept
requires std::is_same_v<T, isize>
Packs a native signed size without allocation as a signed 64-bit value.

Declared in modules/foundation/logging/include/ludus/foundation/logging/log_format.hpp

FormatArg

ludus::foundation::logging::FormatArg::FormatArg(const void *p) noexcept

Declared in modules/foundation/logging/include/ludus/foundation/logging/log_format.hpp

FormatArg

ludus::foundation::logging::FormatArg::FormatArg(float32 v) noexcept

Related types: float32

Declared in modules/foundation/logging/include/ludus/foundation/logging/log_format.hpp

FormatArg

ludus::foundation::logging::FormatArg::FormatArg(float64 v) noexcept

Related types: float64

Declared in modules/foundation/logging/include/ludus/foundation/logging/log_format.hpp