Added unit tests for calling logging messages at different log levels.