-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Sean Fisher edited this page Jan 14, 2021
·
24 revisions
Welcome! Logger is a Monolog based plugin to provide easy-to-use ways to log from WordPress. The AI_Logger\AI_Logger
class implements PSR-3 compliant Psr\Log\LoggerInterface
interface and acts as a proxy to Monolog underneath.
ai_logger()->error( 'Example error log.', [ 'user_id' => 1234 ] );
Feel free to read more about how to use it by clicking the links in the sidebar.