Skip to content

duyler/logger

Repository files navigation

Logger package for Duyler

Quality Gate Status Coverage type-coverage psalm-level PHP Version

Description

This package is a wrapper for the monolog package.

Requirements

  • PHP 8.4 or higher
  • ext-curl (for SlackWebhookHandler, TelegramBotHandler, PushoverHandler)

Available Handlers

Handler Description Dependencies
StreamHandler Logging to file -
SentryHandler Send to Sentry sentry/sentry
RotatingFileHandler Daily log rotation -
ErrorLogHandler Log via error_log() -
SyslogHandler Log to syslog -
NullHandler Disable logging -
FilterHandler Filter by level -
BufferHandler Buffer logs -
GroupHandler Group handlers -
DeduplicationHandler Deduplicate messages -
NoopHandler Do nothing -
FingersCrossedHandler Buffer until critical level -
FallbackGroupHandler Switch on errors -
WhatFailureGroupHandler Ignore handler errors -
OverflowHandler Buffer with threshold -
SlackWebhookHandler Slack notifications ext-curl
TelegramBotHandler Telegram notifications ext-curl
NativeMailerHandler Email notifications -
PushoverHandler Mobile notifications ext-curl

About

Logger for Duyler

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published