… | |
… | |
789 | logging context, the (numeric) logging level and the raw message string |
789 | logging context, the (numeric) logging level and the raw message string |
790 | and needs to return a formatted log message. In most cases this will be a |
790 | and needs to return a formatted log message. In most cases this will be a |
791 | string, but it could just as well be an array reference that just stores |
791 | string, but it could just as well be an array reference that just stores |
792 | the values. |
792 | the values. |
793 | |
793 | |
794 | If, for some reaosn, you want to use C<caller> to find out more baout the |
794 | If, for some reason, you want to use C<caller> to find out more baout the |
795 | logger then you should walk up the call stack until you are no longer |
795 | logger then you should walk up the call stack until you are no longer |
796 | inside the C<AnyEvent::Log> package. |
796 | inside the C<AnyEvent::Log> package. |
797 | |
797 | |
798 | Example: format just the raw message, with numeric log level in angle |
798 | Example: format just the raw message, with numeric log level in angle |
799 | brackets. |
799 | brackets. |