You are here

public function InMemoryConfig::log in Rocket.Chat 8.2

Log a specific action

Parameters

string $message: Message to log.

mixed $level: any of the valid log levels as defined for \Psr\Log.

Return value

void

Overrides RocketChatConfigInterface::log

File

modules/rocket_chat_api/src/RocketChat/InMemoryConfig.php, line 175

Class

InMemoryConfig
Class InMemoryConfig keeps the config in memory.

Namespace

Drupal\rocket_chat_api\RocketChat

Code

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