Skip to content

silentdeath76/dn-LoggerWrapper-ext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dn-LoggerWrapper-ext

View

Use example:

Code in module:

/**
 * @event loggerWrapper.error 
 */
function doLoggerWrapperError(ScriptEvent $e = null)
{    
    if ($e->sender->isDev()) {
        Logger::error($e->message);
    }
}

Trigger events:

$this->loggerWrapper->error("Test message!");