fix: Remove CharSet.Unicode' from 'Logger_log' DLLImport attr
Bugs (fixed): * csharp logs only include the first char of the log message Omnisharp recommended this be specified in the attribute after upgrading to dotnet 6. They were wrong.
This commit is contained in:
1 parent
8a98e38e73
commit
9da1a4a2de
1 file changed
+1
-1
@@ -28,7 +28,7 @@ namespace bts {
|
||||
string message, [CallerFilePath] string file = "", [CallerLineNumber] int line = 0) =>
|
||||
Logger_log(LogLevel.Fatal, subsystem, message, file, line);
|
||||
|
||||
[DllImport("libspark", CharSet = CharSet.Unicode)]
|
||||
[DllImport("libspark")]
|
||||
internal static extern void Logger_log(
|
||||
LogLevel level, LogSubsystem subsystem, string message, string file, int line);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user