Skip to content

A light weight python logger package for logging research results etc.

Notifications You must be signed in to change notification settings

junlulocky/PyLogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyLogger

A light weight python logger package for logging research results etc. Currently more to my own appetite.

Installation

[for master version] pip3 install git+https://github.com/junlulocky/PyLogger.git (Highly Recommended)

Examples

Details:

Code Description
example example for how to use the logger info func

loger info

from pylogger import set_logger

name = 'test'
save_path = './tmp_res/res_alpha-{}'.format(name)  ## it will automatically create the folder of res_alpha-test
logger = set_logger(save_path=save_path)

something = 'something'
logger.info('best hyperparmeter: {}'.format(something))  ## save information to log

About

A light weight python logger package for logging research results etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages