Fixed logger bug where warnings and errors were being logged multiple times on console.
Improved console level logging with proper tabbings for the log level.
Implemented ANSI codes for cross-platofrm compatibility for features.
Formatted with colors for extra ease in identification of log levels in addition to the emoji that are already present.
CRITICAL level log now blinks in terminal.
Removed \n as they were creating whitespace. Definitely can be added back (have added comment regarding it; search for #DEBUG001)
Now data is checked for duplicate data before processing.
Duplicate data is checked on the basis of scode and name-address for schools and cscode and name for centers.
In case of duplicates, respective scodes or cscodes along with their names are displayed as log warnings.
In the school_center.py, the order of calling of these functions would determine which file would be checked first (schools are checked first as of now; also, can be improved for both to be carried out concurrently.)
Info level log can be made visible stating "no duplicates found" if required. (Did not want to mess up the existing README file's output. Look for #DEBUG002 for instructions to enable)
Fixed logger bug where warnings and errors were being logged multiple times on console.
Improved console level logging with proper tabbings for the log level.
Implemented ANSI codes for cross-platofrm compatibility for features.
Formatted with colors for extra ease in identification of log levels in addition to the emoji that are already present.
CRITICAL level log now blinks in terminal.
Removed \n as they were creating whitespace. Definitely can be added back (have added comment regarding it; search for #DEBUG001)
Now data is checked for duplicate data before processing.
Duplicate data is checked on the basis of scode and name-address for schools and cscode and name for centers.
In case of duplicates, respective scodes or cscodes along with their names are displayed as log warnings.
In the school_center.py, the order of calling of these functions would determine which file would be checked first (schools are checked first as of now; also, can be improved for both to be carried out concurrently.)
Info level log can be made visible stating "no duplicates found" if required. (Did not want to mess up the existing README file's output. Look for #DEBUG002 for instructions to enable)