summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSimon Holywell <[email protected]>2014-04-20 15:34:59 +0100
committerSimon Holywell <[email protected]>2014-04-20 15:34:59 +0100
commitb8ce5f262874edeeb21115e6c37e5ff1568b8809 (patch)
tree6ca53865f01dfa472cf0d80d23270ed96ab4e2a8 /docs
parent90247cfdc2f60ff3e7e4ae56bff4b9eb04ce35da (diff)
Update the docs to reflect logger changes@
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration.rst4
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