mirror of
https://github.com/chipsec/chipsec
synced 2026-06-08 13:31:00 +00:00
Add log_hal, log_verbose, log_debug functions
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
This commit is contained in:
committed by
Nathaniel Mitchell
parent
c16ed01ab0
commit
befda4d409
+10
-3
@@ -254,12 +254,19 @@ class Logger:
|
||||
text = "WARNING: " + text
|
||||
self._log(text, pyLogging.WARNING)
|
||||
|
||||
def verbose_log(self, text): # Replaced by log_verbose() for naming consistency
|
||||
def log_verbose(self, text):
|
||||
"""Logs an Verbose message"""
|
||||
if self.VERBOSE:
|
||||
self._log(text, pyLogging.getLevelName("verbose"))
|
||||
|
||||
def log_passed_check(self, text): # Duplicate of log_passed()
|
||||
def log_hal(self, text):
|
||||
"""Logs an Verbose message"""
|
||||
self._log(text, pyLogging.getLevelName("hal"))
|
||||
|
||||
def log_debug(self, text):
|
||||
"""Logs an Verbose message"""
|
||||
self._log(text, pyLogging.DEBUG)
|
||||
|
||||
def log_passed_check( self, text ):
|
||||
"""Logs a Test as PASSED"""
|
||||
self.log_passed(text)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user