src/LogHandler.php
public function update(SubjectInterface $subject, $arguments = null)
	{
		// Check instance
		if (!$arguments instanceof LogRecord) {
			return;
		}

		// Create file
		$file = new File($this->path . DIRECTORY_SEPARATOR . strtolower($arguments->getLevel()) . static::DEFAULT_EXTENSION);

		// Append message
		$file->append((new \DateTime())->format('Y-m-d H:i:s') . ' - ' . $arguments->getMessage() . PHP_EOL);
	}
public function update(SubjectInterface $subject, $arguments = null)
	{
		// Check instance
		if (!$arguments instanceof LogRecord) {
			return;
		}

		// Create file
		$file = new File($this->path . DIRECTORY_SEPARATOR . strtolower($arguments->getLevel()) . static::DEFAULT_EXTENSION);

		// Append message
		$file->append((new \DateTime())->format('Y-m-d H:i:s') . ' - ' . $arguments->getMessage() . PHP_EOL);
	}
{@inheritdoc}