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:
|
* Example usage of logging errors by email notification:
|
||||||
* <code>
|
* <code>
|
||||||
* $logEmailWriter = new SSErrorEmailWriter('my@email.com');
|
* $logEmailWriter = new SSLogEmailWriter('my@email.com');
|
||||||
* SSLog::add_writer($logEmailWriter, SSLog::ERR);
|
* SSLog::add_writer($logEmailWriter, SSLog::ERR);
|
||||||
* </code>
|
* </code>
|
||||||
*
|
*
|
||||||
@ -31,7 +31,7 @@
|
|||||||
*
|
*
|
||||||
* Formatters are added to writers like this:
|
* Formatters are added to writers like this:
|
||||||
* <code>
|
* <code>
|
||||||
* $logEmailWriter = new SSErrorEmailWriter('my@email.com');
|
* $logEmailWriter = new SSLogEmailWriter('my@email.com');
|
||||||
* $myEmailFormatter = new MyLogEmailFormatter();
|
* $myEmailFormatter = new MyLogEmailFormatter();
|
||||||
* $logEmailWriter->setFormatter($myEmailFormatter);
|
* $logEmailWriter->setFormatter($myEmailFormatter);
|
||||||
* </code>
|
* </code>
|
||||||
|
Loading…
Reference in New Issue
Block a user