inpsyde / logzio-monolog Goto Github PK
View Code? Open in Web Editor NEWLogz.io integration into Monolog
License: MIT License
Logz.io integration into Monolog
License: MIT License
Right now there are no tests for LogzIoHandler
. We should change this.
The constructor of LogzIoHandler throws an exception if the curl extension is not loaded. This could be handled on build time when "ext-curl": "*"
would be added to the require
section in composer.json
… to the latest version and align the code accordingly.
Currently it is not possible to change the endpoint used by LogzIoHandler
and so the library cannot be used to ship logs to listener-eu
(https://docs.logz.io/user-guide/log-shipping/listener-ip-addresses.html).
I thought about either adding extra parameter into constructor or adding setter for the endpoint.
As long as Wonolog is not compatible to Monolog 2 I have to use version 0.4 of this package. Unfortunately it's php version constraint excludes php 8:
"php": "^7.0",
I'd like to change that to `"php": ">=7.0" and test it and if it works with 8.1 we could create a 0.5 release.
On https://docs.logz.io/user-guide/log-shipping/listener-ip-addresses.html we can see, that more listener endpoints were added:
We should add them as well to the Inpsyde\LogzIoMonolog\Handler\LogzIoHandler
as constants.
Hello,
I have this in my code:
$logger = new Logger($subdomain);
$logger->pushHandler(new LogzIoHandler('TOKEN'));
This is my region:
Region eu-west-2
But I get no logs? Did I'm missing something?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.