powered by
Serializers are used by AppenderDbi to store multiple values in a single text column in a Database table. Usually you just want to use the default SerializerJson. Please not that AppenderDbi as well as Serializers are still experimental.
SerializerJson
AppenderDbi
Serializers
a Serializer
Serializer
R6::R6 object for AppenderDbi.
Serializer$clone()
clone()
The objects of this class are cloneable with this method.
Serializer$clone(deep = FALSE)
deep
Whether to make a deep clone.
lgrExtra::Serializer -> SerializerJson
lgrExtra::Serializer
SerializerJson$new()
SerializerJson$serialize()
SerializerJson$clone()
new()
SerializerJson$new( cols = "*", cols_exclude = c("level", "timestamp", "logger", "caller", "msg"), col_filter = is.atomic, max_nchar = 2048L, auto_unbox = TRUE )
serialize()
SerializerJson$serialize(event)
SerializerJson$clone(deep = FALSE)
# The defaul Serializer for 'custom fields' columns SerializerJson$new()
Run the code above in your browser using DataLab