// Token: 0x06000173 RID: 371 RVA: 0x000061C0 File Offset: 0x000043C0 public void Log(MigrationEventType eventType, Exception exception, string format, params object[] args) { Action <LocalizedString> logDelegateFromEventType = this.GetLogDelegateFromEventType(eventType); if (exception != null) { this.LogOnDelegate(logDelegateFromEventType, eventType, CmdletLogAdapter.GetMessageWithException(exception, format, args), new object[0]); } else { this.LogOnDelegate(logDelegateFromEventType, eventType, format, args); } this.secondaryLog.Log(eventType, exception, format, args); }
// Token: 0x06000176 RID: 374 RVA: 0x0000626F File Offset: 0x0000446F public void LogError(Exception exception, string formatString, params object[] formatArgs) { this.LogOnDelegate(this.warningLogDelegate, MigrationEventType.Error, CmdletLogAdapter.GetMessageWithException(exception, formatString, formatArgs), new object[0]); this.secondaryLog.LogError(exception, formatString, formatArgs); }