-
Notifications
You must be signed in to change notification settings - Fork 129
Closed
Description
Hi there,
Found an odd issue when running the following code in Xamarin:
Log.Logger = new LoggerConfiguration() .WriteTo.File(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Personal), "XamarinLib-{Date}.txt") , outputTemplate: "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level}] [{SourceContext}] {Message}{NewLine}{Exception}", fileSizeLimitBytes: 100000000, rollingInterval: RollingInterval.Day, rollOnFileSizeLimit: true, shared: true, retainedFileCountLimit: 31, encoding: Encoding.UTF8) .WriteTo.AndroidLog() .CreateLogger();
When the parameter "shared" is set to true, no file is created. When set to false it correctly creates the file. I'm not sure if this is a bug or if I'm misunderstanding how the shared property works :)
Metadata
Metadata
Assignees
Labels
No labels