このページの翻訳:
- 日本語 (ja)
- English (en)
最近の更新
- 02 Apache2で自己認証ssl [中間証明書の整合性確認]
最近の更新
use Silex\Provider\MonologServiceProvider; $app->register(new Silex\Provider\MonologServiceProvider(), array( 039;monolog.name039; => 039;AAAA039;, 039;monolog.logfile039; => __DIR__.039;/log/my_app.log039;, 039;monolog.maxfiles039; => 7, 039;monolog.level039; => constant("Monolog\Logger::DEBUG"), )); // ログ書き込み $app[039;monolog039;]->addDebug(039;debug log039;); $app[039;monolog039;]->addInfo(039;info log039;); $app[039;monolog039;]->addWarning(039;warning log039;); $app[039;monolog039;]->addError(039;error log039;);
[2019-02-07 11:47:15] AAAA.DEBUG: debug log [] [] [2019-02-07 11:47:15] AAAA.INFO: info log [] [] [2019-02-07 11:47:15] AAAA.WARNING: warning log [] [] [2019-02-07 11:47:15] AAAA.ERROR: error log [] []