Searched refs:logging_lambda (Results 1 – 2 of 2) sorted by relevance
/tools/test/connectivity/acts/framework/acts/ |
D | logger.py | 285 def __init__(self, logging_lambda): argument 286 self.logging_lambda = logging_lambda 290 return self.logging_lambda(msg), kwargs 293 def create_logger(logging_lambda=lambda message: message): argument 300 return tracelogger.TraceLogger(LoggerAdapter(logging_lambda)) 312 def logging_lambda(msg): function 315 return create_logger(logging_lambda)
|
D | tracelogger.py | 41 def _log_with(self, logging_lambda, trace_level, msg, *args, **kwargs): argument 43 logging_lambda('%s %s' % (msg, trace_info), *args, **kwargs)
|