log: custom logging using loglevel & enum LogLevel
#213
+52
−10
loglevel & enum LogLevel
#213