No matter what you do, you will need to choose one, and this will attach it to the mechanism. So may also choose one.
Why not check if Log :: Log4Perl is available? If so, use it. If not, either make a callback that your users can connect to, or a minimal set of APIs that allows them to control what (or if) you register at all?
source share