Struct LogWriterUtils
Parser logic
Inherited Members
Namespace: Unity.Logging
Assembly: solution.dll
Syntax
[BurstCompile]
public struct LogWriterUtils
Methods
Name | Description |
---|---|
AddDecorateHandler(LogControllerScopedLock, OutputWriterDecorateHandler, bool) | Used by Log.To().Decorate calls to add a method that's called for every log message, and adds decorations to it for a particular logger. |
AddDecorateHandler(OutputWriterDecorateHandler, bool) | Used by Log.Decorate calls to add a method that's called for every log message, and add decorations to it globally. |
AddOutputHandler(OutputWriterHandler, bool) | Adds a delegate to process and generate logging output strings for a set of context structs. |
RemoveOutputHandler(IntPtr) | Removes an LogWriterUtils.OutputWriterHandler delegate from the parser. |
SetOutputHandlerForLevel(OutputWriterLevelHandler, bool) | Sets a delegate to process and generate logging output strings for LogLevel. |
SetOutputHandlerForTimestamp(OutputWriterTimestampHandler, bool) | Sets a delegate to process and generate logging output strings for timestamps. |
WriteFormattedContextData(ref FormatterStruct, in PayloadHandle, ref UnsafeText, ref FixedString512Bytes, ref LogMemoryManager, ref ArgumentInfo) | Appends string representation of a binary data in the payload |
WriteFormattedLevel(LogLevel, ref UnsafeText) | Appends string representation of LogLevel into UnsafeText |
WriteFormattedTimestamp(in long, ref UnsafeText) | Writes Timestamp to the UnsafeText as UTC |
WriteFormattedTimestampLocalTimeZone(in long, ref UnsafeText) | Writes Timestamp to the UnsafeText in Local time zone |
WriteFormattedTimestampLocalTimeZoneForConsole(in long, ref UnsafeText) | Writes Timestamp to the UnsafeText in Local time zone to show in the Console Window in the Editor (HH:MM:SS) |
WriteNewLine(ref UnsafeText) | Appends a new line into the UnsafeText |
WriteProperties(ref UnsafeText) | Appends all properties into the UnsafeText. For now not implemented |