public PXCMLoggingService CreateLogger(String loggerName) { PXCMLoggingService logger; pxcmStatus sts = CreateImpl <PXCMLoggingService>(out logger); if (sts >= pxcmStatus.PXCM_STATUS_NO_ERROR) { logger.SetLoggerName(loggerName); } else { logger = new PXCMLoggingService(IntPtr.Zero, false); } return(logger); }
public PXCMLoggingService CreateLogger(String loggerName) { PXCMLoggingService logger; pxcmStatus sts = CreateImpl<PXCMLoggingService>(out logger); if (sts >= pxcmStatus.PXCM_STATUS_NO_ERROR) { logger.SetLoggerName(loggerName); } else { logger = new PXCMLoggingService(IntPtr.Zero, false); } return logger; }