def warning(msg, *args, **kwargs): Logger._warning(msg, *args, **kwargs) LoggerHistoryProper.add_data(msg, 'warning')