CSJ2K.Util.StoreMsgLogger.GetLogFile C# (CSharp) Method

GetLogFile() private static method

private static GetLogFile ( string fileName ) : Stream
fileName string
return Stream
        private static Stream GetLogFile(string fileName)
        {
            var file =
                ApplicationData.Current.LocalFolder.CreateFileAsync(fileName, CreationCollisionOption.ReplaceExisting)
                    .AsTask()
                    .Result;
            return file.OpenStreamForWriteAsync().Result;
        }