catch (Excetion ex)
{
_logger.Logerror(ex," " )
}
return xyx;
catch (Excetion ex)
{
_logger.Logerror(ex," " )
}
return xyx;
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit MohantyPosted Aug 18, 2023, 8:51 AM
Make sure that you have declared and instantiated the _logger object properly before using it. You might need to create an instance of a logging library, like ILogger, and assign it to the _logger variable.
Chinna KanchireddyPosted Aug 18, 2023, 11:52 AM
Yes It's correct Thank you so much