Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/Log.php')
-rw-r--r--core/Log.php14
1 files changed, 2 insertions, 12 deletions
diff --git a/core/Log.php b/core/Log.php
index 904cdb0f83..4091fa532d 100644
--- a/core/Log.php
+++ b/core/Log.php
@@ -55,12 +55,8 @@ use Piwik\Db;
*
* ### Custom message formatting
*
- * If you'd like to format log messages differently for different backends, you can use
- * one of the `'Log.format...Message'` events.
- *
- * These events are fired when an object is logged. You can create your own custom class
- * containing the information to log and listen to these events to format it correctly for
- * different backends.
+ * If you'd like to format log messages differently for different backends, you can
+ * implement a new `Piwik\Log\Formatter\Formatter`.
*
* If you don't care about the backend when formatting an object, implement a `__toString()`
* in the custom class.
@@ -115,12 +111,6 @@ class Log extends Singleton
const LOGGER_FILE_PATH_CONFIG_OPTION = 'logger_file_path';
const STRING_MESSAGE_FORMAT_OPTION = 'string_message_format';
- const FORMAT_FILE_MESSAGE_EVENT = 'Log.formatFileMessage';
-
- const FORMAT_SCREEN_MESSAGE_EVENT = 'Log.formatScreenMessage';
-
- const FORMAT_DATABASE_MESSAGE_EVENT = 'Log.formatDatabaseMessage';
-
const GET_AVAILABLE_WRITERS_EVENT = 'Log.getAvailableWriters';
/**