You are here

function monolog_hipchat_handler_loader in Monolog 7

Monolog loader callback; Loads a HipChatHandler handler.

Return value

HandlerInterface

File

handlers/hipchat.inc, line 15
Handler include for HipChatHandler.

Code

function monolog_hipchat_handler_loader($options) {
  return new HipChatHandler($options['token'], $options['room'], $options['contact_name'], $options['notify'], $options['level'], $options['bubble']);
}