deadpool2k/quicklogphp

A simple, fast PHP logging library that logs datetime, IP, user-agent, and message details.

Maintainers

Package info

github.com/Deadpool2000/quicklogphp

pkg:composer/deadpool2k/quicklogphp

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 0

v0.1.0 2025-11-01 09:45 UTC

This package is auto-updated.

Last update: 2026-03-29 01:13:52 UTC


README

A lightweight PHP logger that records datetime, IP address, user agent, and message details — all in a single line.

[datetime]:[ip]:[useragent]:[level]:message

Installation

composer require deadpool2k/quicklogphp

Usage

use QuickLogPHP\QuickLog;

$log = new QuickLog();

$log->info("User logged in", ["username" => "john_doe"]);
$log->error("Database connection failed", ["db_host" => "localhost"]);

Example Output

[2025-10-31 18:10:45]:[192.168.1.10]:[Mozilla/5.0]:[INFO]:User logged in | {"username":"john_doe"}
[2025-10-31 18:11:15]:[192.168.1.10]:[Mozilla/5.0]:[ERROR]:Database connection failed | {"db_host":"localhost"}

🧾 License

MIT