Logs a message to the Console on the given channels, formed by inserting the values of args zero or more objects into a format text string.
- Parameters
-
channel1 | First channel to which the message belongs. |
channel2 | Second channel to which the message belongs. |
- Parameters
-
logType | Type of the message; Log, Warning, Error, Assert or Exception. |
logOptions | Option flags for specifying special treatment of a log message. |
context | Object to which the message applies. |
If you pass a context argument that Object will be momentarily highlighted in the Hierarchy window when you click the log message in the Console.
- Parameters
-
format | A composite format string based on which the message is generated. |
Each format item inside the string is replaced by the value of the argument at the same index.
A format item consists of braces ("{" and "}") containing the index of the argument whose value should be inserted into the format string at that location.
- Parameters
-
args | Zero or more objects to be converted to string and inserted into the format composite format string. |
- Type Constraints
-
LogOption | : | struct | |
LogOption | : | IConvertible | |