LogField
class LogField(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null) : ProxyInstance
Structure representing a single field in a structured log entry. See g_log_structured() for details.
Log fields may contain arbitrary values, including binary with embedded nul bytes. If the field contains a string, the string must be UTF-8 encoded and have a trailing nul byte. Otherwise, @length must be set to a non-negative value.
Since
2.50
Constructors
Link copied to clipboard
constructor()
Allocate a new LogField.
constructor(scope: <Error class: unknown class>)
Allocate a new LogField using the provided AutofreeScope.
Allocate a new LogField.
constructor(key: String?, value: <Error class: unknown class>, length: Long, scope: <Error class: unknown class>)
Allocate a new LogField using the provided AutofreeScope.
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)