{"id":17109744,"url":"https://github.com/bleargh45/log-dispatch-twilio","last_synced_at":"2025-03-23T21:41:46.639Z","repository":{"id":56837581,"uuid":"328581492","full_name":"bleargh45/Log-Dispatch-Twilio","owner":"bleargh45","description":"Log output via Twilio SMS Message","archived":false,"fork":false,"pushed_at":"2023-06-12T20:11:19.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-29T05:13:54.905Z","etag":null,"topics":["log-dispatch","twilio","twilio-sms"],"latest_commit_sha":null,"homepage":"https://metacpan.org/release/Log-Dispatch-Twilio/","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bleargh45.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-11T07:25:11.000Z","updated_at":"2022-05-26T20:08:35.000Z","dependencies_parsed_at":"2022-09-12T11:51:15.370Z","dependency_job_id":null,"html_url":"https://github.com/bleargh45/Log-Dispatch-Twilio","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bleargh45%2FLog-Dispatch-Twilio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bleargh45%2FLog-Dispatch-Twilio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bleargh45%2FLog-Dispatch-Twilio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bleargh45%2FLog-Dispatch-Twilio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bleargh45","download_url":"https://codeload.github.com/bleargh45/Log-Dispatch-Twilio/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245175322,"owners_count":20572781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["log-dispatch","twilio","twilio-sms"],"created_at":"2024-10-14T16:24:14.383Z","updated_at":"2025-03-23T21:41:46.617Z","avatar_url":"https://github.com/bleargh45.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nLog::Dispatch::Twilio - Log output via Twilio SMS Message\n\n# SYNOPSIS\n\n```perl\nuse Log::Dispatch;\n\nmy $logger = Log::Dispatch-\u003enew(\n    outputs =\u003e [\n        [ 'Twilio',\n          min_level   =\u003e 'emergency',\n          account_sid =\u003e '\u003cyour-twilio-account-sid\u003e',\n          auth_token  =\u003e '\u003cyour-twilio-auth-token\u003e',\n          from        =\u003e '\u003cnumber-to-send-msg-from\u003e',\n          to          =\u003e '\u003cnumber-to-send-msg-to\u003e',\n        ],\n    ],\n);\n```\n\n# DESCRIPTION\n\nThis module provides a `Log::Dispatch` output that sends log messages via\nTwilio.\n\nWhile you probably don't want _every_ logged message from your application to\ngo out via Twilio, I find it particularly useful to set it up as part of my\n`Log::Dispatch` configuration for critical/emergency errors.  In the event\nthat something dire happens, I'll receive an SMS message through Twilio right\naway.\n\n## Required Options\n\nWhen adding Twilio output to your [Log::Dispatch](https://metacpan.org/pod/Log%3A%3ADispatch) configuration, the following\noptions are required:\n\n- account\\_sid\n\n    Your Twilio \"Account Sid\".\n\n- auth\\_token\n\n    Your Twilio \"Auth Token\".\n\n- from\n\n    The telephone number from which the SMS messages will appear to be sent from.\n\n    This number must be a number attached to your Twilio account.\n\n- to\n\n    The telephone number to which the SMS messages will be sent to.\n\n## Additional Options\n\n- max\\_messages (default 1)\n\n    Maximum number of SMS messages that can be generated from a single logged\n    item.  Defaults to 1.\n\n# METHODS\n\n- new\n\n    Constructor.\n\n    Implemented as per the [Log::Dispatch::Output](https://metacpan.org/pod/Log%3A%3ADispatch%3A%3AOutput) interface.\n\n- log\\_message\n\n    Logs message, by sending it as an SMS message to the configured number via the\n    Twilio API.\n\n    Implemented as per the [Log::Dispatch::Output](https://metacpan.org/pod/Log%3A%3ADispatch%3A%3AOutput) interface.\n\n# AUTHOR\n\nGraham TerMarsch (cpan@howlingfrog.com)\n\n# COPYRIGHT\n\nCopyright (C) 2012, Graham TerMarsch.  All Rights Reserved.\n\nThis is free software, you can redistribute it and/or modify it under the\nArtistic-2.0 license.\n\n# SEE ALSO\n\n[Log::Dispatch](https://metacpan.org/pod/Log%3A%3ADispatch),\n[http://www.twilio.com/](http://www.twilio.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbleargh45%2Flog-dispatch-twilio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbleargh45%2Flog-dispatch-twilio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbleargh45%2Flog-dispatch-twilio/lists"}