国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

php - monolog pushHandler 第二個(gè)參數(shù)有什么意義
PHP中文網(wǎng)
PHP中文網(wǎng) 2017-04-10 15:18:11
0
1
413

DEBUG (100): Detailed debug information.

INFO (200): Interesting events. Examples: User logs in, SQL logs.

NOTICE (250): Normal but significant events.

WARNING (300): Exceptional occurrences that are not errors. Examples: Use of deprecated APIs, poor use of an API, undesirable things that are not necessarily wrong.

ERROR (400): Runtime errors that do not require immediate action but should typically be logged and monitored.

CRITICAL (500): Critical conditions. Example: Application component unavailable, unexpected exception.

ALERT (550): Action must be taken immediately. Example: Entire website down, database unavailable, etc. This should trigger the SMS alerts and wake you up.

EMERGENCY (600): Emergency: system is unusable.

指定了日志級(jí)別,但是貌似得日志記錄沒啥影響?

PHP中文網(wǎng)
PHP中文網(wǎng)

認(rèn)證0級(jí)講師

reply all(1)
劉奇

我記得在 github 看到過, 如果第二個(gè)參數(shù)指定的事 Notice, 那么 addDebug 和 addInfo 的 log 會(huì)被忽略.
也就是最低錯(cuò)誤級(jí)別.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template