Skip to content

developius/logline-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Python abstraction library for the LogLine API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages