Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
  gnsLogger
  gns_logger.egg-info
  MANIFEST.in
  PKG-INFO
  Pipfile
  Pipfile.lock
  README.md
  requirements.txt
  setup.cfg
  setup.py
Size: Mime:
  README.md

gns-logger

Smart logger that is compatible for multi-threading environments. The logger has 4 configurations which can be changed using the YAML file:

  1. console-simple - log to stdout with the following format: '%(asctime)s %(levelname)-8s %(name)-15s %(message)s'
  2. console-json - log to stdout in json format
  3. file-simple - log to file with the following format: '%(asctime)s %(levelname)-8s %(name)-15s %(message)s'
  4. file-json - log to file in json format

The loggers wanted can be specified in the YAML in the root->handlers list. The name of the file should be specified in the YAML file as well (currently - mplog.log)

Requirements

  • Python 3