Last updated:
0 purchases
GGLogger 1.0.0
GGLogger
A function logger for Python
See examples under Examples/Example.py
Supported return types:
Int
Float
String
List
Dict
Tuple
Or use combine to combine 2 or more types
Functions
Print Function
RIGHT NOW PRINT ONLY WORKS ON COMBINED FUNCTIONS!
Use:
@GG.Print
@GG.Combine (int, str, list)
def Test ():
if 0:
return [0]
elif 1:
return str (0)
else:
return int (0)
# Output result:
# [0]
Log Function
Use:
@GG.Int
@GG.Log ()
def Test ():
return 1
# Output result:
# ----- Log Result -----
# Executed: Test
# Result: 1
# Result Type: str
# Execution Time: 0.0 seconds
# Arg Count: 0
# File Path: C:\Path\To\File.py
# Start Line: 1
# ----------------------
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.