Skip to content

Instantly share code, notes, and snippets.

View saif-mahmud's full-sized avatar

Saif Mahmud saif-mahmud

View GitHub Profile
@saif-mahmud
saif-mahmud / timelogger.py
Created February 8, 2021 07:32
Python Class for Logging Execution Time
import logging
import time
import numpy as np
class TimeLogger():
def __init__(self, log_level="INFO"):
self.data_dict = dict()