push method
Implementation
@override
Future<void> push(log) async {
if (log.type == LogType.message) {
await _pushMessage(log as Message);
} else if (log is BaseEvent) {
await _pushEvent(log);
} else {
InnerLog().e('Invalid log type: ${log.type}');
}
}