log

fun <T : Any> log(name: String, value: T, schema: FateSchema<T>)

Logs value at name using schema instead of inferring one.

Use this when inference can't produce the schema you want, such as a gay.zharel.fateweaver.schemas.MapSchema with a particular key type, an array with a specific element schema, or a custom struct schema. It is also how Java logs a Map or a List.

The first log to a path fixes its schema. Later logs reuse it, so pass the same schema each time.