danieleteti / loggerpro

An modern and pluggable logging framework for Delphi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consider dropping separate *Fmt calls for overloading them

TommiPrami opened this issue · comments

I think it would be easier to just have two overloaded calls with different set of parameters, so it would be faster to switch between the two if needed.

We considered this is some meetings, however we think that the Fmt version is more "delphi like" because it is similar to the .Create and. CreateFmt of the Exception class.
However, we could just add the overload without break the retrocompatibility... we take it in consideration. Thank you for your suggestion.

I thought the logic was from exception class. I think that is remainder from the time there was no method overloading.

Either way it is not such a big deal, I happen to like overloads more, in case s like this.