All Projects → stritti → Log4js

stritti / Log4js

Licence: apache-2.0
Log4js - The Logging Framework for JavaScript with no runtime dependencies

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Log4js

Logagent Js
Extensible log shipper with input/output plugins, buffering, parsing, data masking, and small memory/CPU footprint
Stars: ✭ 333 (-11.9%)
Mutual labels:  logging
Log
Structured Logging Made Easy
Stars: ✭ 350 (-7.41%)
Mutual labels:  logging
Xcglogger
A debug log framework for use in Swift projects. Allows you to log details to the console (and optionally a file), just like you would have with NSLog() or print(), but with additional information, such as the date, function name, filename and line number.
Stars: ✭ 3,710 (+881.48%)
Mutual labels:  logging
Stream
🗄️ Stream plugin for WordPress
Stars: ✭ 335 (-11.38%)
Mutual labels:  logging
Sigma
Generic Signature Format for SIEM Systems
Stars: ✭ 4,418 (+1068.78%)
Mutual labels:  logging
Exceptionless.net
Exceptionless clients for the .NET platform
Stars: ✭ 362 (-4.23%)
Mutual labels:  logging
Audit Userspace
Linux audit userspace repository
Stars: ✭ 328 (-13.23%)
Mutual labels:  logging
Buck50
STM32F103 logic analyzer and more
Stars: ✭ 358 (-5.29%)
Mutual labels:  logging
Tty Command
Execute shell commands with pretty output logging and capture stdout, stderr and exit status.
Stars: ✭ 348 (-7.94%)
Mutual labels:  logging
Applicationinsights Dotnet
ApplicationInsights-dotnet
Stars: ✭ 367 (-2.91%)
Mutual labels:  logging
Electron Timber
Pretty logger for Electron apps
Stars: ✭ 337 (-10.85%)
Mutual labels:  logging
Clockwork
Clockwork - php dev tools in your browser - server-side component
Stars: ✭ 4,076 (+978.31%)
Mutual labels:  logging
Cocoadebug
iOS Debugging Tool 🚀
Stars: ✭ 3,769 (+897.09%)
Mutual labels:  logging
Ckss Certified Kubernetes Security Specialist
This repository is a collection of resources to prepare for the Certified Kubernetes Security Specialist (CKSS) exam.
Stars: ✭ 333 (-11.9%)
Mutual labels:  logging
Go Syslog
Blazing fast syslog parser
Stars: ✭ 370 (-2.12%)
Mutual labels:  logging
Caterpillar
Caterpillar is the ultimate logging system for Deno, Node.js, and Web Browsers. Log levels are implemented to the RFC standard. Log entries can be filtered and piped to various streams, including coloured output to the terminal, the browser's console, and debug files. You can even write your own transforms.
Stars: ✭ 330 (-12.7%)
Mutual labels:  logging
Reckless
Reckless logging. Low-latency, high-throughput, asynchronous logging library for C++.
Stars: ✭ 358 (-5.29%)
Mutual labels:  logging
Monolog
Requirements
Stars: ✭ 19,361 (+5021.96%)
Mutual labels:  logging
Laravel Logger
An out the box activity logger for your Laravel or Lumen application. Laravel logger is an activity event logger for your laravel application. It comes out the box with ready to use with dashboard to view your activity. Laravel logger can be added as a middleware or called through a trait. This package is easily configurable and customizable. Supports Laravel 5.3, 5.4, 5.5, 5.6, 5.7, 5.8, 6, and 7+
Stars: ✭ 366 (-3.17%)
Mutual labels:  logging
Logline
client-side frontend logger with multiple storagies
Stars: ✭ 366 (-3.17%)
Mutual labels:  logging

Apache License Github Releases Built with Grunt Build Status

Log4js

Log4js - The Logging Framework for JavaScript with no runtime dependencies | Since 2005

Usage

  • Download the most current https://github.com/stritti/log4js/releases and unzip the archive.
  • Copy the file js/log4js.min.js to your project.
  • Add the JavaScript file to head of HTML page:
    <head>
      <script src="log4js.min.js" type="text/javascript"></script>
    </head>
    
    
  • Add script for instantiation of Logger:
    let consoleLog = new Log4js.Logger("consoleTest");
    consoleLog.setLevel(Log4js.Level.ALL);
    let consoleAppender = new Log4js.ConsoleAppender(true);
    consoleLog.addAppender(consoleAppender);
    
    
  • Then you are able to add logging event:
    consoleLog.trace('I was traced!')
    

Within sources there is a more detailed example.

Development

The project is seperated in modules. Core JavaScript module is located in subdirectory log4js

Structure

├───log4js: Main JavaScript Log4js module 
├───log4js-servlet: Java Servlet to collect AJAX-Logs serverside
├───log4js-solr: configuration to collect logs using Apache SOLR
├───log4js-site: (outdated) project documentation
 

Log4js

Main JavaScript module

To build the JavaScript library we use npm and grunt.

cd log4js
npm install
grunt build

Include then the target/log4js.min.js file in your project.

More details in the Wiki

Log4js Servlet

The servlet is Java based project which is compiled using maven.

Log4js SOLR

For more details see README.md in the subdirectory log4js-solr

Log4js Site

Outdated documentation.

Contribution

Pull Requests are very welcome.

Other JavaScript Logger

There are a lot other projects which are started logging in JavaScript:

There is a very active fork of current log4js framework modified for node.js usage: https://github.com/nomiddlename/log4js-node

Further loggers could be found (and added!) in the Wiki.

License

LICENSE.txt

Analytics

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].