I realized that most of the recent additions like PartsExclude and FieldsExclude could be done just be some preprocessing before formatting starts.
In my particular case, I realized that I cannot use FormatMessage because it has access only to the message and not other fields: but I want to make it bold only if the level is info or above.
So FormatPrepare allows all such changes: removing fields, adding fields, changing fields.
I realized that most of the recent additions like
PartsExclude
andFieldsExclude
could be done just be some preprocessing before formatting starts.In my particular case, I realized that I cannot use
FormatMessage
because it has access only to the message and not other fields: but I want to make it bold only if the level is info or above.So
FormatPrepare
allows all such changes: removing fields, adding fields, changing fields.