Skip to content

Framework_Log

StefansArya edited this page Apr 18, 2019 · 1 revision

The default logging is configured in /config/app.php at log section.

If you want to output text in the log.

\Scarlets\Log::message("text");

Shortcut for above function.

\Scarlets\log("text");

If you want to trace the execution of your script.

\Scarlets\Log::trace("text");
Clone this wiki locally