btg-sandbox-video-upscaler/logger.php
DJP dd61900772 Initial commit: Video Enhancement Portal
- Complete PHP web application for video enhancement using Topaz Labs API
- Features include multiple AI models, resolution scaling, and real-time progress tracking
- Microsoft authentication integration with secure session management
- Comprehensive README with installation and configuration guide
- Security-focused .gitignore to protect sensitive configuration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-17 14:40:40 -04:00

9 lines
No EOL
270 B
PHP

<?php
class Logger {
public static function log($message, $level = 'INFO') {
$timestamp = date('Y-m-d H:i:s');
$logMessage = "[$timestamp] [$level] $message" . PHP_EOL;
file_put_contents(Config::LOG_FILE, $logMessage, FILE_APPEND);
}
}
?>