Package ch.bailu.gtk.glib
Klasse LogField
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.glib.LogField
- Alle implementierten Schnittstellen:
PointerInterface
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.
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.
-
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ClassHandler
field name (UTF-8 string)long
length of @value, in bytes, or -1 if it is nul-terminatedfield value (arbitrary bytes)void
setFieldKey
(Str key) field name (UTF-8 string)void
setFieldLength
(long length) length of @value, in bytes, or -1 if it is nul-terminatedvoid
setFieldValue
(Pointer value) field value (arbitrary bytes)Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Felddetails
-
KEY
field name (UTF-8 string)- Siehe auch:
-
VALUE
field value (arbitrary bytes)- Siehe auch:
-
LENGTH
length of @value, in bytes, or -1 if it is nul-terminated- Siehe auch:
-
-
Konstruktordetails
-
LogField
-
LogField
public LogField()
-
-
Methodendetails
-
getClassHandler
-
setFieldKey
field name (UTF-8 string) -
getFieldKey
field name (UTF-8 string) -
setFieldValue
field value (arbitrary bytes) -
getFieldValue
field value (arbitrary bytes) -
setFieldLength
public void setFieldLength(long length) length of @value, in bytes, or -1 if it is nul-terminated -
getFieldLength
public long getFieldLength()length of @value, in bytes, or -1 if it is nul-terminated
-