In general, I suggest using the logging library, or elementals. Especially if you're planning to keep maintaining the plugin
currently, there are ~15 prints so it's not a big deal to use the enum I did with a printing function
but logger would be nice if you'd want to log stuff to a log file (for verbose output, debug purposes, etc), have better control of logging level, etc. For some symbolization one would want to find a big buffer *and not only 100bytes), thus, logging it to a file is a great option.
This pr implements a better logging mechanism.
In general, I suggest using the
logging
library, or elementals. Especially if you're planning to keep maintaining the plugin currently, there are ~15 prints so it's not a big deal to use the enum I did with a printing function but logger would be nice if you'd want to log stuff to a log file (for verbose output, debug purposes, etc), have better control of logging level, etc. For some symbolization one would want to find a big buffer *and not only 100bytes), thus, logging it to a file is a great option.This pr also apply pep8 formatting