/* Sets the background and foreground colors for the OutputString () and ClearScreen () functions. */
EFI_STATUS EFIAPI ConsoleLoggerSetAttribute(IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, IN UINTN Attribute)
/* Sets the background and foreground colors for the OutputString () and ClearScreen () functions. */
EFI_STATUS EFIAPI ConsoleLoggerSetAttribute(IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, IN UINTN Attribute)
{
  EFI_STATUS  Status;
  CONSOLE_LOGGER_PRIVATE_DATA  *ConsoleInfo;
  ConsoleInfo = CONSOLE_LOGGER_PRIVATE_DATA_FROM_THIS (This);
  Status = ConsoleInfo->OldConOut->SetAttribute (ConsoleInfo->OldConOut, Attribute);
  if (!EFI_ERROR (Status)) {
    ConsoleInfo->HistoryMode.Attribute = (INT32)Attribute;
  }
  return Status;
}