⚝
One Hat Cyber Team
⚝
Your IP:
172.22.0.1
Server IP:
151.80.20.34
Server:
Linux 794f04d97d5e 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
Server Software:
Apache/2.4.62 (Debian)
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
html
/
vendor
/
aws
/
aws-crt-php
/
src
/
AWS
/
CRT
/
Edit File: Log.php
<?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); } }
Simpan