Exception logging in 10

I am migrating some old code (Probably written on v5.5 or 7.6...can't remember for sure)  It uses the CSException class to log exceptions.  Wondering what the equivalent is in 10.2

catch (Exception ex) {
    CSException exception = new CSException(CSExceptionType.UnknownError,
                         String.Format("Error occured when requesting individual video information in secure youtube viewer.", ex.StackTrace, ex.Message.ToString(), ex.InnerException.ToString()),
                         ex.InnerException);
    exception.Log();
}

Parents Reply Children
No Data