mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Updated class documentation for SSLog to fix inaccurate class name, when it should actually be "SSLogEmailWriter"
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@88950 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
360dd5ebd9
commit
57ab419736
@ -14,7 +14,7 @@
|
||||
*
|
||||
* Example usage of logging errors by email notification:
|
||||
* <code>
|
||||
* $logEmailWriter = new SSErrorEmailWriter('my@email.com');
|
||||
* $logEmailWriter = new SSLogEmailWriter('my@email.com');
|
||||
* SSLog::add_writer($logEmailWriter, SSLog::ERR);
|
||||
* </code>
|
||||
*
|
||||
@ -31,7 +31,7 @@
|
||||
*
|
||||
* Formatters are added to writers like this:
|
||||
* <code>
|
||||
* $logEmailWriter = new SSErrorEmailWriter('my@email.com');
|
||||
* $logEmailWriter = new SSLogEmailWriter('my@email.com');
|
||||
* $myEmailFormatter = new MyLogEmailFormatter();
|
||||
* $logEmailWriter->setFormatter($myEmailFormatter);
|
||||
* </code>
|
||||
|
Loading…
Reference in New Issue
Block a user