2017 © Pedro Peláez
 

library logline-php

PHP library for interfacing with LogLine

image

developius/logline-php

PHP library for interfacing with LogLine

  • Tuesday, October 25, 2016
  • by developius
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

LogLine-PHP

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

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., (*2)

The Versions

25/10 2016

dev-master

9999999-dev

PHP library for interfacing with LogLine

  Sources   Download

MIT

by Finnian Anderson

25/10 2016

1.0.0

1.0.0.0

PHP library for interfacing with LogLine

  Sources   Download

MIT

by Finnian Anderson