You are here

public function Drupal8Config::log in Rocket.Chat 8.2

Log a specific action

Parameters

$message: Message to log.

$level: a string value if either "error"|"warning"|"info"|"debug" to indicate the level of this log message.

Return value

void

Overrides RocketChatConfigInterface::log

1 method overrides Drupal8Config::log()
Test7Config::log in modules/rocket_chat_api/src/RocketChat/TestConfig.class.inc
Log a specific action

File

modules/rocket_chat_api/src/RocketChat/Drupal8Config.php, line 199

Class

Drupal8Config
Class Drupal8Config connects the API with the drupal system.

Namespace

Drupal\rocket_chat_api\RocketChat

Code

public function log($message, $level) {
  $this->Logger
    ->log($level, $message);
}