This project has retired. For details please refer to its Attic page.
Apache REEF: Org.Apache.REEF.Utilities.AsyncUtils.LoggingHelper Class Reference
Apache REEF  0.15.0
Retainable Evaluator Execution Framework
Static Public Member Functions | List of all members
Org.Apache.REEF.Utilities.AsyncUtils.LoggingHelper Class Reference

Logging helpers for TPL More...

Static Public Member Functions

static void LogAndIgnoreExceptionIfAny (this Task self, Logger logger, string msg="", Level logLevel=Level.Error)
 Logs the and then ignores the exceptions thrown from the task if any. More...
 

Detailed Description

Logging helpers for TPL

Member Function Documentation

static void Org.Apache.REEF.Utilities.AsyncUtils.LoggingHelper.LogAndIgnoreExceptionIfAny ( this Task  self,
Logger  logger,
string  msg = "",
Level  logLevel = Level.Error 
)
inlinestatic

Logs the and then ignores the exceptions thrown from the task if any.

Parameters
selfThe task itself
loggerLogger to log against
msgOptional message to be included
logLevelOptional parameter to set log level

The documentation for this class was generated from the following file: