folded-php / log Goto Github PK
View Code? Open in Web Editor NEWLog information to various channels for your web app.
Home Page: https://packagist.org/packages/folded/log
License: MIT License
Log information to various channels for your web app.
Home Page: https://packagist.org/packages/folded/log
License: MIT License
phpunit, pest and php-cs-fixer are in dependencies instead of dev dependencies.
phpunit, pest and php-cs-fixer are in require-dev key.
None.
Static analysis helps catching bugs earlier.
pest --coverage && phpstan analyse src
phpstan.neon
configuration fileNone.
None.
There is no templates for bugs and enhancements, which can reduce the chances someone will want to describe his issue or can make difficult to format and clarify an issue without proper templates.
For an enhancements, the following sections (using level 2 title, ##
) should be shown:
The text hints, using italic, should be shown below each of these titles (without the double quotes):
For a bug, the following sections (using level 2 title, ##
) should be shown:
The text hints, using italic, should be show below each of these titles (without the double quotes):
To write by hand the issue layout.
The Logger class is not meant to be extended. Mark it as final.
The Logger class is marked as final.
None.
None.
Logs can get huge as the time goes. Monolog provides this feature for file handler.
To be able to configure the file handler to enable file rotation strategy.
use function Folded\addLogger;
addLogger("myLogger", "file", [
"path" => "path/to/folder",
"dailyRotation" => true,
]);
None.
None.
When the code loads functions, it should detect the existance of the function under the namespace instead of just the name of the function
The call of function_exists()
use the full qualified namespace.
namespace Folded;
if (!function_exists("Folded\theFunction")) {
// load the function now
}
Functions declared twice enters in collision.
None.
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.