[Dbix-class] DBIC_TRACE with timestamp / line numbers?

Andy Smith andy at strugglers.net
Fri Mar 20 12:23:49 GMT 2015


Hi,

Is there an obvious way I have missed to prepend a time stamp to the
output that setting DBIC_TRACE puts out on STDERR? Or should I just
direct that output to my own logging which adds that?

Also same question but for __FILE__ and __LINE__ etc?

I saw DBIC_TRACE_PROFILE and that all looks useful but couldn't see
an obvious way to make it do those particular things.

So, what do others do?

Cheers,
Andy



More information about the DBIx-Class mailing list