OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
Xpress_backup
/
vendor
/
aws
/
aws-crt-php
/
src
/
AWS
/
CRT
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
01/06/2025 08:26:13 AM
rwxr-xr-x
📁
Auth
-
05/19/2025 10:07:18 AM
rwxr-xr-x
📄
CRT.php
13.29 KB
05/19/2025 10:07:18 AM
rw-r--r--
📁
HTTP
-
05/19/2025 10:07:18 AM
rwxr-xr-x
📁
IO
-
05/19/2025 10:07:18 AM
rwxr-xr-x
📁
Internal
-
05/19/2025 10:07:18 AM
rwxr-xr-x
📄
Log.php
1.06 KB
05/19/2025 10:07:18 AM
rw-r--r--
📄
NativeResource.php
1.04 KB
05/19/2025 10:07:18 AM
rw-r--r--
📄
Options.php
1.76 KB
05/19/2025 10:07:18 AM
rw-r--r--
Editing: Log.php
Close
<?php /** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ namespace AWS\CRT; use AWS\CRT\CRT; final class Log { const NONE = 0; const FATAL = 1; const ERROR = 2; const WARN = 3; const INFO = 4; const DEBUG = 5; const TRACE = 6; public static function toStdout() { CRT::log_to_stdout(); } public static function toStderr() { CRT::log_to_stderr(); } public static function toFile($filename) { CRT::log_to_file($filename); } public static function toStream($stream) { assert(get_resource_type($stream) == "stream"); CRT::log_to_stream($stream); } public static function stop() { CRT::log_stop(); } public static function setLogLevel($level) { assert($level >= self::NONE && $level <= self::TRACE); CRT::log_set_level($level); } public static function log($level, $message) { CRT::log_message($level, $message); } }