Fixed an issue where using a string that requires more than 2 bytes per character when encoded in UTF-8 in a formatted log would result in either an exception being thrown or the editor hanging, depending on the sync mode.
[1.0.14] - 2023-07-27
Updated Burst dependency to version 1.8.7
[1.0.11] - 2023-05-30
Fixed compilation errors with 2022.3.
[1.0.10] - 2023-05-23
Fixed memory leaks on domain reloads.
[1.0.8] - 2023-04-17
Support for redirecting Unity Debug logs into logging package
Updated Burst version to 1.8.4
Generated names are now deterministic
Update XML documenation.
When targeting the IL2CPP backend with Burst enabled and Managed Code Stripping set to values higher than 'Minimal', logging messages should no longer cause a compilation failure. Some code paths internal to the package and necessary for Burst compatibility were erroneously being stripped with Managed Code Stripping enabled.
[1.0.0-pre.37] - 2023-03-21
Updated Burst version in use to 1.8.3
[1.0.0-pre.21] - 2023-02-13
Console sink reports timestamp in the local timezone, instead of UTC.
Logger settings set 'CaptureStacktrace' to true by default.
Improve compilation when using UNITY_DOTS_DEBUG
[1.0.0-pre.11] - 2022-11-19
Release preparations, no functional changes.
[1.0.0-exp.7] - 2022-10-19
Ability to provide custom ToString-like formatting
Structures with unsafe pointers inside can be logged.
Pointers can be logged
Incremental sourcegen implemented
Jobs dependency removed
USE_BASELIB define removed - it is always set
Unity 2023 compatibility
Initialization order because of cctor is not called in some Burst cases
[1.0.0] - 2022-09-21
Stacktrace support. .net core and ns20 have much faster stack traces.
Il2CppSetOption attributes with disabled runtime checks for perf critical code
Public way to create a LoggerHandle in case it cannot be used directly
Support of UNITY_DOTS_DEBUG define
Support for strings in logging calls
SourceGenerator's speed by detecting compilation abort better
Ability to log properties
LogWithName attribute added
NotLogged / NonSerialized attribute added
Static analyzer for Log. messages that validates the message and arguments.
Default Logger is created if a user didn't do that
Logging system will call update automatically, using PlayerLoop
Logging will flush and cleanup on application quit
SelfLog error on empty template for text logging
USE_BASELIB define removed to work with all Unity Editors
minor in -> ref replace for the messages in the queue
in -> ref in few places
Burst 1.6.4 used
T constraint on Builder.BuildContext from struct to unmanaged.
Logging's source generators are not emitting warnings on not burst compatible calls anymore
Default and max buffer capacity reduced
Log writing to files now has log rolling enabled by default, with a maximum log file size of 5MB and 15 maximum log files that can exist before older log files are deleted as the logger rolls to a new one.
Added composite formatting and a subset of format specifiers to logging statements for integer types. Standard numeric format specifiers included are DdXx, custom numeric format specifiers are 0#,.\ and string literals enclosed by '' or "".
SourceGenerator's code refactoring.
Log.* calls are generated even if no usage is detected to improve auto-completion
Mirror structs are not visible to users anymore
Formatter's architecture that gives the ability to provide custom formatters for user types
FlushAll is called on Logger's Dispose
Unity.Mathematics dependency from Logging logic removed
MTT-1916 reverted (Align mem allocations to 8 bytes)
Dead code and asmrefs removed
No need to enable 'unsafe' code to use the package.
SourceGenerator's code to access file system removed as not used.
Dead code removed
Arm64 crash fix
DisableDirectCall Burst issue that was fixed in 1.6
Dots Runtime compilation fixes
Rare race condition fixed
SetMinimalLogLevelAcrossAllSinks not updating m_MinimalLogLevelAcrossAllSinks fixed
Lock when trying to log using invalid logging handle.
Version define in asmdef's changed to comply with Rider IDE requirements
Timestamp stability improved
Bug with package detection code, now we generate Log.* code always
SharedStatic alignment added to fix the crash on ARM
Omitted message near non-omitted one cause wrong codegen
Reserved argument names parsed incorrectly
Crash in some cases when a user calls Log. from non-main thread first (so cctor is called on non-main thread)
HideInStacktrace now works for burst's directcalls
[0.4.0] - 2021-09-17
Logger API to be able to Add Sinks after creation
OnNewLoggerCreated and CallForEveryLogger for LoggerManager
Ability to change min logging level in runtime
Test StringSink and UnityDebugLogSink added
Tests for burst compatibility added
Better error reporting from source generators
Initialize call for Sinks doesn't require LoggerConfig
Better Log call detection in the source generators
il2cpp issue about missing MonoPInvokeCallback is fixed.