Enum LogWriterUtils.ContextWriteResult
Result values returned by an OutputWriteHandler implementer.
Namespace: Unity.Logging
Syntax
public enum ContextWriteResult
Fields
Name | Description | Value |
---|---|---|
UnknownType | Context ID value is recognized/supported by the current LogWriterUtils.OutputWriterHandler. There can be multiple LogWriterUtils.OutputWriterHandler delegates, each supporting a different set of context data structs, which are called in turn from a list until an approbate delegate is found. Delegates must return this value if the context data type isn't recognized to instruct LogWriterUtils to try the next delegate. |
0 |
Success | Indicates an LogWriterUtils.OutputWriterHandler successfully wrote the data for a Context struct to the output stream. |
1 |
Failed | Indicates an LogWriterUtils.OutputWriterHandler failed to write the data for a Context struct to the output stream. This should be returned if there's any issue writing data. |
2 |