add microseconds timestamp to logs
This commit is contained in:
parent
141b177d85
commit
9192841684
|
@ -177,7 +177,7 @@ namespace priv
|
||||||
void efiPrintfInternal(const char *format, ...) {
|
void efiPrintfInternal(const char *format, ...) {
|
||||||
#if EFI_UNIT_TEST || EFI_SIMULATOR
|
#if EFI_UNIT_TEST || EFI_SIMULATOR
|
||||||
if (verboseMode) {
|
if (verboseMode) {
|
||||||
printf("efiPrintfInternal:");
|
printf("[%dus]efiPrintfInternal:", time2print(getTimeNowUs()));
|
||||||
va_list ap;
|
va_list ap;
|
||||||
va_start(ap, format);
|
va_start(ap, format);
|
||||||
vprintf(format, ap);
|
vprintf(format, ap);
|
||||||
|
|
Loading…
Reference in New Issue