… | |
… | |
456 | C<Time::HiRes::time> when logging a message before L<AnyEvent> becomes |
456 | C<Time::HiRes::time> when logging a message before L<AnyEvent> becomes |
457 | available. |
457 | available. |
458 | |
458 | |
459 | =item AnyEvent::Log::format_time $timestamp |
459 | =item AnyEvent::Log::format_time $timestamp |
460 | |
460 | |
461 | Formats a timestamp as returned by C<< AnyEvent->now > or C<< |
461 | Formats a timestamp as returned by C<< AnyEvent->now >> or C<< |
462 | AnyEvent->time >> or many other functions in the same way as |
462 | AnyEvent->time >> or many other functions in the same way as |
463 | C<AnyEvent::Log> does. |
463 | C<AnyEvent::Log> does. |
464 | |
464 | |
465 | In your main program (as opposed to in your module) you can override |
465 | In your main program (as opposed to in your module) you can override |
466 | the default timestamp display format by loading this module and then |
466 | the default timestamp display format by loading this module and then |