1
0
Fork 0

Created NullLogger to log nothing.

This commit is contained in:
Gergely Polonkai (W00d5t0ck) 2012-10-08 14:36:20 +02:00
parent 24cf8f4c0d
commit b52fc4c054
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
<?php
namespace SmsGateway\Logger;
use SmsGateway\LoggerInterface;
/**
* Description of NullLogger
*
* @author polonkai.gergely
*/
class NullLogger implements LoggerInterface
{
public function auditLog($type, $username, $message)
{
return true;
}
public function messageLog($username, $recipient, $message, array $passwordLocations)
{
return true;
}
}