/* Worker function to handle printing the output to the screen and the history buffer */
EFI_STATUS ConsoleLoggerOutputStringSplit(IN CONST CHAR16 *String, IN CONSOLE_LOGGER_PRIVATE_DATA *ConsoleInfo)
/* Worker function to handle printing the output to the screen and the history buffer */
EFI_STATUS ConsoleLoggerOutputStringSplit(IN CONST CHAR16 *String, IN CONSOLE_LOGGER_PRIVATE_DATA *ConsoleInfo)
{
  EFI_STATUS  Status;
  Status = ConsoleInfo->OldConOut->OutputString (ConsoleInfo->OldConOut, (CHAR16 *)String);
  if (EFI_ERROR (Status)) {
    return (Status);
  }
  return (AppendStringToHistory (String, ConsoleInfo));
}