Laravel provides rich logging functionality.
We can post messages to third party chatting platforms like slack using Laravel logging functionality.
All of the configuration for your application’s logging system is housed in the config/logging.php
configuration file. This file allows you to configure your application’s log channels, so be sure to review each of the available channels and their options.
By default, Laravel will use the stack
channel when logging messages. The stack
channel is used to aggregate multiple log channels into a single channel.