Skip to content

Commit

Permalink
feature 后端日志文档
Browse files Browse the repository at this point in the history
  • Loading branch information
zds-s committed Oct 19, 2024
1 parent fd86b0b commit 46f09e2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/zh/backend/base/logger.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# 日志处理

## 开发模式下的命令行日志

`.env` 文件中,如果 `APP_DEBUG=true`,那么服务端会自动把所有错误日志输出到命令行。方便开发者本地进行调试。
如果 `APP_DEBUG=true`,那么服务端会尽可能的把日志输出到默认的 `loggerFactor->get('xxx','default')` 日志通道中


::: tip

关于更多日志使用的文档,请参考 [hyperf](https://hyperf.io) 文档,本文不再另行说明基础用法

:::

0 comments on commit 46f09e2

Please sign in to comment.