protected bool IsLogEnabled()
 {
     return(XLog.IsLogEnabled());
 }