klyn.logging.LogFields.operator[]
method
public operator[](name as String) as Object:
Description

Reads a field.

Parameters
ParameterDescription
nameField name.
Returns

Stored value.

Throws
  • KeyException if the name is absent.
Example

assert LogFields({"id": 1})["id"] == 1