Skip to content

PuneetSoni4/logger-using-decorator

Repository files navigation

logger-using-decorator

This project aims at implementing logger using python decorator.

How to use?

There are three sample use-case-files uploaded so as to give idea about how to use logger and decorator files.

One just need to keep these files at particular location in project and then import them. (python-packaging-init.py-importing-concept)

Modifications required:

A. In exception_logger.py

  1. Change logger name (in getLogger() method),
  2. You can also change the log level (in setLevel () method),
  3. Change the path of log file (in FileHandler() method)

About

A python project to implement logger using decorator.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages