developius/logline-php

PHP library for interfacing with LogLine

Installs: 18

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/developius/logline-php

1.0.0 2016-10-25 19:10 UTC

This package is not auto-updated.

Last update: 2025-12-21 08:20:03 UTC


README

LogLine is an entirely web-based logging platform. This PHP library interfaces with it to allow you to utilise LogLine in your PHP applications.

Installation

composer require developius/logline-php

Example usage

$logline = new LogLine("your-api-key");

if ($logline->info("I'm a sucker for LogLine")){
	echo "Log of type info succeeded\n";
}
if ($logline->success("Yeah! It worked")){
	echo "Log of type success succeeded\n";
}
if ($logline->warning("Be careful with that")){
	echo "Log of type warning succeeded\n";
}
if ($logline->fatal("Oh man, this is bad")){
	echo "Log of type fatal succeeded\n";
}

Tests

There is a test script included for testing purposes, it may prove useful, or it may not.