Comments (5)
@AntRemo sorry, I was wrong. The actual fix for the bug #59077 is to add the following code to your LinkerPleaseInclude
file:
public static void IncludeThaiLocale(System.Globalization.ThaiBuddhistCalendar include)
{
include = new System.Globalization.ThaiBuddhistCalendar();
}
The Xamarin's linker removes this class so you have to include it manually.
from metrolog.
I can confirm this is a Xamarin bug
from metrolog.
@lassana I am running into this issue as well.
How did you work around it?
Thanks
from metrolog.
@AntRemo to be honest I don't quite remember. I know at first I have been setting the global Culture
of the app to en-US
, but my final solution was a custom MetroLog Layout
with an explicit DateTime formatter, for instance "yyyy-MM-dd HH:mm:ss", actually it could be anything but "o".
from metrolog.
@lassana thanks for the info. I was able to resolve it with the approach above. :)
from metrolog.
Related Issues (20)
- no json data written
- Multiple FileStreamingTarget in DefaultConfiguration HOT 2
- GlobalCrashHandler doesn't give stack trace/location HOT 1
- MetroLog stops logging when a few exceptions occurred HOT 3
- Using a custom trace layout in StreamingFileTarget HOT 1
- Change StreamingFileTarget's file name HOT 1
- Logging in local time HOT 1
- Read the current log file in UWP HOT 2
- Many unhandled exceptions with WriteAsync when using logger in UWP app
- Code Cluthering, SRP, KISS, 10/100, ... Violation?
- Release build is failing with error saying missing implementation on type 'MetroLog.Targets.StreamingFileTarget' HOT 1
- How to flush BufferedTarget (and its descendants) when buffer size less than threshold? HOT 1
- The process cannot access the file because it is being used by another process. The file is in use. Please close the file before continuing. HOT 1
- Exception thrown: 'System.IO.FileLoadException' in System.Private.CoreLib.dll WinRT information: The file is in use. Please close the file before continuing.
- Messages not always formatted
- GetCompressedLogs- how to for xamarin.forms project? HOT 13
- MetroLog for .Net 6 and Maui
- GlobalCrashHandler does not pass exception to Layout
- no message written to file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metrolog.