Added null check when initializing CLRBufferedLogHander