log($level, $message, $context); } public static function debug(string $message, array $context = []): void { if (! Options::getBool(Options::DEBUG_LOGGING)) { return; } self::log('debug', $message, $context); } public static function info(string $message, array $context = []): void { self::log('info', $message, $context); } public static function warning(string $message, array $context = []): void { self::log('warning', $message, $context); } public static function error(string $message, array $context = []): void { self::log('error', $message, $context); } }