for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Log to Windows Event Log.
*
* @author Vitex <[email protected]>
* @copyright 2009-2016 [email protected] (G)
*/
namespace Ease\Logger;
* Log to EventLog.
* @copyright 2009-2019 [email protected] (G)
class ToEventlog extends ToSyslog implements Loggingable
{
* Předvolená metoda logování.
* @var string
public $logType = 'eventlog';
* @var ToEventlog Saves obejct instace (singleton...).
private static $instance = null;
$instance
* Encode For Windows event Log
* @param string $messageRaw
* @return string ready to use message
public function finalizeMessage($messageRaw)
return iconv("UTF-8", "cp1251//TRANSLIT", $messageRaw);
}