MainMenuLogger
A class in Root.Township, the global namespace.
Singleton that logs main menu status messages to NLog and to an optional extra IMainMenuLogger (such as MainMenuPlayerLogger). Reach it with SingletonBehaviour<MainMenuLogger>.Instance.
- Listed in Global namespace: M to O
- Inherits or implements
SingletonBehaviour<MainMenuLogger>,IMainMenuLogger - Derived types
MainMenuLogger
Constructors
| Member | What it is |
|---|---|
MainMenuLogger() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
Properties
| Member | What it is |
|---|---|
IMainMenuLogger Logger { get; set; } | Extra logger that also gets each message, or null. |