Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alvin-pm-pl/sentry
A PocketMine-MP plugin for logging Exceptions to a Sentry server.
https://github.com/alvin-pm-pl/sentry
pmmp pmmp-plugin pocketmine pocketmine-plugin sentry sentry-io
Last synced: about 2 months ago
JSON representation
A PocketMine-MP plugin for logging Exceptions to a Sentry server.
- Host: GitHub
- URL: https://github.com/alvin-pm-pl/sentry
- Owner: alvin-pm-pl
- License: mit
- Archived: true
- Created: 2022-03-31T08:51:14.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-04-02T02:46:34.000Z (over 2 years ago)
- Last Synced: 2024-09-26T10:20:31.386Z (about 2 months ago)
- Topics: pmmp, pmmp-plugin, pocketmine, pocketmine-plugin, sentry, sentry-io
- Language: PHP
- Homepage:
- Size: 196 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sentry
A PocketMine-MP plugin for logging Exceptions to a [Sentry](https://sentry.io) server.# Asynchronous logging
If you want to log exceptions in a thread-safe way, you can use the [thread](https://github.com/alvin0319/Sentry/tree/thread) branch.
I am sure if plugin developers don't abuse `MainLogger::logException()` it won't be matter.but if you don't trust them you can use thread branch anyway.
# Getting started
Before you use this plugin, You'll need to create your project on [Sentry](https://sentry.io) and get your DSN.After creating new project, Fill the `sentry-dsn` field in config.yml with your DSN URL.
```yaml
# Sentry Main configuration file
# Configurations in this file may not appear automatically upon update, and some settings may crash the server.# Sentry DSN link which is used to send errors to Sentry.
# You will get the DSN link when you create a new project in Sentry.
# Example: https:////
sentry-dsn: ""# Other options that will be passed to Sentry client.
# Example:
# sentry-options:
# environment: production
# release: 1.0.0sentry-options: []
```Done! That's it!
Now stay calm and enjoy the server.
**It is important that You should create the project as PHP to use this plugin.**
# Example Error Log
![](https://raw.githubusercontent.com/alvin0319/Sentry/master/assets/example_log.png)