diff options
Diffstat (limited to 'docs/configuration.rst')
-rw-r--r-- | docs/configuration.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/configuration.rst b/docs/configuration.rst index 08d11c2..2b74a88 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -261,8 +261,8 @@ allows you too whatever you would like from inside the callback function. .. code-block:: php <?php - ORM::configure('logger', function($log_string) { - echo $log_string; + ORM::configure('logger', function($log_string, $query_time) { + echo $log_string . ' in ' . $query_time; }); Query caching |