Skip to content

RockArtist33/JustAnotherLogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Just Another Logger

A simple logger that i use in my python projects.

Usage

You can import the logger class like this:

from justanotherlogger import Logger

To set it up, you run:

logger = Logger.Logger()
logger.setup(type=Logger.INFO, filenameDirectory = "./", filename = f"{str(datetime.date.today())}.log"):
Parameter Usage
type Determines the minimum Error level of the log, Any log under this level will be ignored
filenameDirectory Tells the Logger which directory to store the log in.
filename Tells the logger what to call the log

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors