Giter Site home page Giter Site logo

519984307 / uniqlogger Goto Github PK

View Code? Open in Web Editor NEW

This project forked from netresultsit/uniqlogger

0.0 0.0 0.0 347 KB

A Qt based x-platform logging library with multiple backends and features

License: GNU Lesser General Public License v2.1

C++ 88.62% Python 2.90% QMake 8.48%

uniqlogger's Introduction

UniqLogger

A Qt-based x-platform logging library with multiple backends and features

The UniQLogger library is a (thread-safe) Qt-based library that allows the logging and monitoring functionalities for Qt-based projects. You can create various loggers (with different module names and logging times) and associate them to different logwriters so that the same messages can be dispatched to various devices (Console, Network, RSysLog or File).

UniqLogger compiles and works on Linux, MacOs, Windows, iOS and Android, other Qt-supported platforms might work but are untested.

Network writers are clients over TCP connections Console writers can have different colors (currently not on windows) File writers have the ability to use log-rotation (time and/or size based) and file compression (both zip and gzip)

Loggers have different levels of logging and you can be set so that a minimum level has to be achieved before the actual message gets dispatched to the writers.

It's also possible to define the timestamp format in order to show milliseconds.

Monitoring is another cool feature of the UniQLogger library, it allows to define a map of variables (identified by a keyword that must be unique per logger) that can be \i turned on and off by the UniQLogger monitorVar() method.

There is also a Dbviewer tool to search through db-logged messages and a python script to import file-based logs into a db.

Refer to lib/00-Compile file for compilation instructions

In the example folder there is a sample app project that can be compiled to show the library features In the tests folder there are some unit and functional tests

License is LGPL-2, if you need a commercial license, feel free to contact us.

Contributors are welcome :)

uniqlogger's People

Contributors

sergico avatar alienpenguin avatar brushtyler avatar matteoans avatar robertonetresults avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.