Are you an LLM? You can read better optimized documentation at /backend/base/logger.md for this page in Markdown format
Log Handling β
Command Line Logs in Development Mode β
In the .env
file, if APP_DEBUG=true
, the server will automatically output all error logs to the command line. This facilitates local debugging for developers.
If APP_DEBUG=true
, the server will attempt to output logs to the default logging channel loggerFactor->get('xxx','default')
.
TIP
For more documentation on log usage, please refer to the Hyperf documentation. Basic usage will not be further explained here.