CommandLineArgsLogger
A class in Root.Township, Alta.Logging.
Logs the command line arguments at startup, to both the Unity log and NLog.
- Listed in Console, logging and analytics
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
CommandLineArgsLogger() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
1 private and internal field
Methods
3 private and internal methods
| Member | What it is |
|---|---|
private void Awake() | Logs the raw arguments, then the game's parsed arguments. |
private void LogAltaCommandLineArgs() | Logs CommandLineArguments.AllArguments, though the message still says raw. |
private void LogRawCommandLineArgs() | Logs the process's raw command line arguments. |