class

FVisualLogger

Module
Logging
Header
#include "Logging/VisualLogger.h"
Namespace
Mowo

Properties

TypeNameDescription
static constexpr size_tkDefaultCapacityDefault 20000.

Public functions

ReturnsNameDescription
FVisualLogger&Get
boolIsEnabled
voidSetEnabled
size_tCapacity
voidSetCapacity
voidSetCategoryEnabledA category switched off records nothing, so a chatty AI system can be silenced at the source instead of filtered in the viewer.
boolIsCategoryEnabled
voidRecord
voidLogText
voidLogShape
voidLogPoint
voidLogLine
voidLogSphere
voidLogBox
voidLogWorldText
std::vector<FVisualLogEntry>Snapshot
std::vector<FVisualLogEntry>Query
std::vector<std::string>Categories
std::vector<std::string>Owners
boolFrameBoundsThe oldest and newest frame still in the ring; false when it is empty.
size_tCount
uint64_tRevision
voidClear
__attribute__
std::stringSerializeRecordingA recording is the ring written as one binary blob (magic, version, then every entry with its shapes), so a bug seen on a server or a client can be opened later in the viewer.
boolDeserializeRecording
std::stringDefaultRecordingPath<Saved>/VisualLogger/<name>.<recording extension>, beside the logs.
boolSaveRecording
boolLoadRecording
boolMatches

Function details

Get

C++
static FVisualLogger& Get()

IsEnabled

C++
bool IsEnabled() const

SetEnabled

C++
void SetEnabled(bool enabled)

Capacity

C++
size_t Capacity() const

SetCapacity

C++
void SetCapacity(size_t capacity)

SetCategoryEnabled

C++
void SetCategoryEnabled(const std::string& category, bool enabled)

A category switched off records nothing, so a chatty AI system can be silenced at the source instead of filtered in the viewer.

IsCategoryEnabled

C++
bool IsCategoryEnabled(const std::string& category) const

Record

C++
void Record(FVisualLogEntry entry)

LogText

C++
void LogText(const char* category, const char* owner, EVisualLogVerbosity verbosity, const std::string& text)

LogShape

C++
void LogShape(const char* category, const char* owner, EVisualLogVerbosity verbosity, const FVisualLogShape& shape, const std::string& text = std::string())

LogPoint

C++
void LogPoint(const char* category, const char* owner, const float position[3], uint32_t color = 0xFFFFFFFFu, const std::string& label = std::string())

LogLine

C++
void LogLine(const char* category, const char* owner, const float from[3], const float to[3], uint32_t color = 0xFFFFFFFFu, const std::string& label = std::string())

LogSphere

C++
void LogSphere(const char* category, const char* owner, const float center[3], float radius, uint32_t color = 0xFFFFFFFFu, const std::string& label = std::string())

LogBox

C++
void LogBox(const char* category, const char* owner, const float minCorner[3], const float maxCorner[3], uint32_t color = 0xFFFFFFFFu, const std::string& label = std::string())

LogWorldText

C++
void LogWorldText(const char* category, const char* owner, const float position[3], const std::string& text, float height = 0.25f, uint32_t color = 0xFFFFFFFFu)

Snapshot

C++
std::vector<FVisualLogEntry> Snapshot() const

Query

C++
std::vector<FVisualLogEntry> Query(const FVisualLogQuery& query) const

Categories

C++
std::vector<std::string> Categories() const

Owners

C++
std::vector<std::string> Owners() const

FrameBounds

C++
bool FrameBounds(uint64_t& first, uint64_t& last) const

The oldest and newest frame still in the ring; false when it is empty.

Count

C++
size_t Count() const

Revision

C++
uint64_t Revision() const

Clear

C++
void Clear()

__attribute__

C++
__attribute__((format(printf, 1, 2))) static std::string Format(const char* format, ...)

SerializeRecording

C++
std::string SerializeRecording() const

A recording is the ring written as one binary blob (magic, version, then every entry with its shapes), so a bug seen on a server or a client can be opened later in the viewer. Frames and times are stored as recorded. Loading replaces the ring unless append; entries get fresh serials and bypass IsEnabled, since a viewer opens a recording with recording off. False on an unreadable, truncated or newer-version file, leaving the ring untouched.

DeserializeRecording

C++
bool DeserializeRecording(const void* data, size_t size, bool append = false)

DefaultRecordingPath

C++
static std::string DefaultRecordingPath(const std::string& name)

<Saved>/VisualLogger/<name>.<recording extension>, beside the logs.

SaveRecording

C++
bool SaveRecording(const std::string& path) const

LoadRecording

C++
bool LoadRecording(const std::string& path, bool append = false)

Matches

C++
static bool Matches(const FVisualLogEntry& entry, const FVisualLogQuery& query)
Generated from Logging/VisualLogger.h via logging.json · Dec 5, 2026Version 1.1.0