Ticket #820 (closed Feature Request: fixed)
Add router state debug log inside Kohana::instance()
| Reported by: | nevez | Owned by: | Shadowhand |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.3 |
| Component: | Core | Version: | SVN HEAD |
| Keywords: | router debug | Cc: |
Description
I think it would be useful to add this line at the beginning of Kohana::instance(), immediately after the if statement "if (self::$instance === NULL)"
Kohana::log('debug', 'Routing with "'.Router::$current_route.'": controller "'.Router::$controller.'", method "'.Router::$method.'"');
Change History
Note: See
TracTickets for help on using
tickets.
