Home
last modified time | relevance | path

Searched refs:LogLevel (Results 1 – 23 of 23) sorted by relevance

/device/google/contexthub/util/nanotool/
Dlog.cpp26 Log::LogLevel Log::level_;
30 void Log::Initialize(Logger *logger, LogLevel level) { in Initialize()
39 void Log::SetLevel(LogLevel level) { in SetLevel()
52 LOG_EX_VARARGS(LogLevel::Error, format); in Error()
56 LOG_EX_VARARGS(LogLevel::Warn, format); in Warn()
60 LOG_EX_VARARGS(LogLevel::Info, format); in Info()
64 LOG_EX_VARARGS(LogLevel::Debug, format); in Debug()
72 if (Log::level_ < LogLevel::Debug) { in DebugBuf()
107 char Log::LevelAbbrev(LogLevel level) { in LevelAbbrev()
109 case LogLevel::Error: in LevelAbbrev()
[all …]
Dlog.h51 enum class LogLevel { enum
61 static void Initialize(Logger *logger, LogLevel level);
79 static void SetLevel(LogLevel level);
82 static char LevelAbbrev(LogLevel level);
83 static void LogEx(LogLevel level, const char *format, va_list arg_list);
86 static LogLevel level_;
Dnanotool.cpp342 Log::SetLevel(Log::LogLevel::Debug); in ParseArgs()
344 Log::SetLevel(Log::LogLevel::Info); in ParseArgs()
414 Log::Initialize(new PrintfLogger(), Log::LogLevel::Warn); in main()
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenCrc32/
DGenCrc32.c133 UINT64 LogLevel; in main() local
142 LogLevel = 0; in main()
219 Status = AsciiStringToUint64 (argv[1], FALSE, &LogLevel); in main()
224 if (LogLevel > 9) { in main()
225 …03, "Invalid option value", "Debug Level range is 0-9, current input level is %d", (int) LogLevel); in main()
228 SetPrintLevel (LogLevel); in main()
/device/linaro/bootloader/edk2/BaseTools/Source/C/GnuGenBootSector/
DGnuGenBootSector.c308 UINT64 LogLevel; in main() local
388 EfiStatus = AsciiStringToUint64 (argv[Index + 1], FALSE, &LogLevel); in main()
393 if (LogLevel > 9) { in main()
394 …003, "Invalid option value", "Debug Level range is 0-9, currnt input level is %d", (int) LogLevel); in main()
397 SetPrintLevel (LogLevel); in main()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/PatchPcdValue/
DPatchPcdValue.py235 Parser.set_defaults(LogLevel=EdkLogger.INFO)
262 if CommandOptions.LogLevel < EdkLogger.DEBUG_9:
263 EdkLogger.SetLevel(CommandOptions.LogLevel + 1)
265 EdkLogger.SetLevel(CommandOptions.LogLevel)
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFv/
DGenFv.c198 UINT64 LogLevel, TempNumber; in main() local
211 LogLevel = 0; in main()
538 Status = AsciiStringToUint64 (argv[1], FALSE, &LogLevel); in main()
543 if (LogLevel > 9) { in main()
544 …03, "Invalid option value", "Debug Level range is 0-9, current input level is %d", (int) LogLevel); in main()
547 SetPrintLevel (LogLevel); in main()
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenBootSector/
DGenBootSector.c654 UINT64 LogLevel; in main() local
732 EfiStatus = AsciiStringToUint64 (argv[Index + 1], FALSE, &LogLevel); in main()
737 if (LogLevel > 9) { in main()
738 …003, "Invalid option value", "Debug Level range is 0-9, currnt input level is %d", (int) LogLevel); in main()
741 SetPrintLevel (LogLevel); in main()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Trim/
DTrim.py536 Parser.set_defaults(LogLevel=EdkLogger.INFO)
562 if CommandOptions.LogLevel < EdkLogger.DEBUG_9:
563 EdkLogger.SetLevel(CommandOptions.LogLevel + 1)
565 EdkLogger.SetLevel(CommandOptions.LogLevel)
587 if CommandOptions != None and CommandOptions.LogLevel <= EdkLogger.DEBUG_9:
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFfs/
DGenFfs.c489 UINT64 LogLevel; in main() local
496 LogLevel = 0; in main()
719 Status = AsciiStringToUint64 (argv[1], FALSE, &LogLevel); in main()
724 if (LogLevel > 9) { in main()
725 …03, "Invalid option value", "Debug Level range is 0-9, current input level is %d", (int) LogLevel); in main()
728 SetPrintLevel (LogLevel); in main()
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DEfiUtilityMsgs.h130 UINT64 LogLevel
DEfiUtilityMsgs.c645 UINT64 LogLevel in SetPrintLevel() argument
661 mPrintLogLevel = LogLevel; in SetPrintLevel()
/device/google/contexthub/firmware/os/inc/
DsyscallDo.h80 static inline void eOsLogvInternal(enum LogLevel level, const char *str, uintptr_t args_list) in eOsLogvInternal()
85 static inline void eOsLogv(enum LogLevel level, const char *str, va_list vl) in eOsLogv()
90 static inline void eOsLog(enum LogLevel level, const char *str, ...) in eOsLog()
Dseos.h273 enum LogLevel { enum
282 void osLog(enum LogLevel level, const char *str, ...) PRINTF_ATTRIBUTE(2, 3);
/device/linaro/bootloader/edk2/BaseTools/Source/C/BootSectImage/
Dbootsectimage.c851 UINT64 LogLevel; in main() local
903 EfiStatus = AsciiStringToUint64 (*argv, FALSE, &LogLevel); in main()
908 if (LogLevel > 9) { in main()
909 …003, "Invalid option value", "Debug Level range is 0-9, currnt input level is %d", (int) LogLevel); in main()
912 SetPrintLevel (LogLevel); in main()
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenSec/
DGenSec.c1007 UINT64 LogLevel; in main() local
1028 LogLevel = 0; in main()
1182 Status = AsciiStringToUint64 (argv[1], FALSE, &LogLevel); in main()
1187 if (LogLevel > 9) { in main()
1188 …003, "Invalid option value", "Debug Level range is 0~9, currnt input level is %d", (int) LogLevel); in main()
1191 SetPrintLevel (LogLevel); in main()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/
DGenMake.py1271 LogLevel = EdkLogger.GetLevel()
1272 if LogLevel == EdkLogger.VERBOSE:
1274 elif LogLevel <= EdkLogger.DEBUG_9:
1275 ExtraOption += " -d %d" % (LogLevel - 1)
1276 elif LogLevel == EdkLogger.QUIET:
/device/google/contexthub/firmware/os/cpu/cortexm4/
Dcpu.c148 enum LogLevel level = LOG_INFO; in cpuInitLate()
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/
DGenFw.c1087 UINT64 LogLevel; in main() local
1140 LogLevel = 0; in main()
1382 Status = AsciiStringToUint64 (argv[1], FALSE, &LogLevel); in main()
1387 if (LogLevel > 9) { in main()
1388 …003, "Invalid option value", "Debug Level range is 0-9, currnt input level is %d", (int) LogLevel); in main()
1391 SetPrintLevel (LogLevel); in main()
/device/google/contexthub/firmware/os/core/
DosApi.c88 enum LogLevel level = va_arg(args, int /* enums promoted to ints in va_args in C */); in osExpApiLogLogv()
DhostIntf.c172 enum LogLevel level;
221 static void hostIntfDeferErrLog(enum LogLevel level, enum hostIntfIntErrReason reason, const char *… in hostIntfDeferErrLog()
Dseos.c1395 void osLog(enum LogLevel level, const char *str, ...) in osLog()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
DFvImage.py1379 Parser.set_defaults(LogLevel=EdkLogger.INFO)