LoginSignup
2
0

laravel10のログをCloudWatchに送信する方法

Last updated at Posted at 2023-07-21

https://github.com/tarfin-labs/laravel-cloudwatch-logger
を実行する。

これだけだと下記のようなエラーが出る

Declaration of Maxbanton\Cwh\Handler\CloudWatch::write(array $record): void must be compatible with 
Monolog\Handler\AbstractProcessingHandler::write(Monolog\LogRecord $record): void

下記のリポジトリを使用すれば良い
https://github.com/pagevamp/laravel-cloudwatch-logs

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0