@rbxts/rlog > SerializationConfig > encodeRobloxTypes
SerializationConfig.encodeRobloxTypes property
Whether to encode Roblox-specific types.
Signature:
readonly encodeRobloxTypes: boolean;
Remarks
When this setting is disabled, all roblox-specific types will instead just be represented as "<TYPE_NAME>"
.
Example
logger.i("Player died", { player: player, location: player.Position });
// > [INFO]: Player died
// > { "data": { "player": 1338, "location": "<Vector3>" } }