-
Notifications
You must be signed in to change notification settings - Fork 0
ch13_logging
Daniel Samson edited this page Sep 30, 2025
·
1 revision
TeensyPHP offers a Log class to to provide logging that is filtered based on the LOG_LEVEL environment variable set.
use TeensyPHP\Utility\Log;
use TeensyPHP\Enums\LogLevelEnum;
Log::debug("message");
Log::info("message");
Log::warning("message");
Log::error("message");
Log::critical("message");
Log::alert("message");
Log::emergency("message");