Class BotLog
- Namespace
- Unity.Multiplayer.Core
The log lines a bot run ends with (UM-T57), the contract the compose smoke watches for: [NetBot:A] OK: ...
once the game's driver passes, [NetBot:A] FAIL: ... on any failure. One place, so the runner, the wait
script and the tests agree.
public static class BotLog
- Inheritance
-
BotLog
- Inherited Members
Fields
FailMarker
Marks a bot's failing line, after its tag.
public const string FailMarker = "FAIL:"
Field Value
OkMarker
Marks a bot's passing line, after its tag.
public const string OkMarker = "OK:"
Field Value
Methods
Fail(string, string)
[NetBot:A] FAIL: message.
public static string Fail(string role, string message)
Parameters
Returns
Line(string, string)
[NetBot:A] message.
public static string Line(string role, string message)
Parameters
Returns
Ok(string, string)
[NetBot:A] OK: message.
public static string Ok(string role, string message)
Parameters
Returns
Tag(string)
The tag every line of the bot playing role starts with: [NetBot:A].
public static string Tag(string role)
Parameters
rolestring