logline

A Python abstraction library for the LogLine API


Keywords
logging, api, LogLine
License
MIT
Install
pip install logline==0.1.1

Documentation

LogLine-Python

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

Installation

The recommended way to install LogLine-Python is to use PyPI:

pip install logline

Example usage

from logline import *

logline = LogLine("DF165TEZIC")

if logline.info("test logging from python"):
    print("Info log succeeded")
if logline.success("test logging from python"):
    print("Success log succeeded")
if logline.warning("test logging from python"):
    print("Warning log succeeded")
if logline.fatal("test logging from python"):
    print("Fatal log succeeded")

Tests

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