Struct ArgumentInfo
Parsed Argument/Hole data. See https://messagetemplates.org/ for Holes
Inherited Members
Namespace: Unity.Logging
Assembly: solution.dll
Syntax
public readonly struct ArgumentInfo
Constructors
Name | Description |
---|---|
Argument |
Constructor of the Argument |
Fields
Name | Description |
---|---|
Alignment | Alignment that is specified after ',' |
Built |
Builtin code for the level context argument |
Built |
Builtin code for the message context argument |
Built |
Builtin code for the newline context argument |
Built |
Builtin code for the properties context argument |
Built |
Builtin code for the stacktrace context argument |
Built |
Builtin code for the timestamp context argument |
Destructing | |
Format | Format that is specified after ':' |
Index | Indexed hole (if no Name was specified) |
Is |
Non-Zero if created |
Name | Name of the hole |
Type | Argument |
Properties
Name | Description |
---|---|
Is |
True if the Argument |
Is |
True if created |
Methods
Name | Description |
---|---|
Number(int) | Create a hole from a number (index) |
Parse |
Parses Argument |
Retrieve |
Returns an index of the context argument to use in WriteMessage or builtin code |