You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Timestamp could be really OwnedKeyValue with the value being a closure, with a possibility of an user adding it's own. The problem it's evaluation would happen a bit later (important for async drain).
Level & msg are kind of special, but maybe something similiar could be done for them.
The text was updated successfully, but these errors were encountered:
dpc
changed the title
Custom timestamp, level, msg key names.
Support custom timestamp, level, msg key names.
Jun 22, 2016
Maybe support for closures Fn(&RecordInfo) -> Serialize would fix all of these and some part of #8. This way no special handling of timestamp, level, msg in the drains is required and drain or the user can register any custom closures under any custom name.
Timestamp could be really
OwnedKeyValue
with the value being a closure, with a possibility of an user adding it's own. The problem it's evaluation would happen a bit later (important for async drain).Level & msg are kind of special, but maybe something similiar could be done for them.
The text was updated successfully, but these errors were encountered: