Table of Contents

Class StoreLogger

Namespace
Velvet
Assembly
Velvet.Docs.dll

Logger for Store. Self-contained within Velvet. Swap Default in tests to suppress log output.

public class StoreLogger
Inheritance
object
StoreLogger
Derived

Properties

Default

Default logger used by Store. Replaceable in tests. Main-thread only. When running tests in parallel, reset it in each test class's SetUp/TearDown.

Methods

Log(string)

Logs an informational message. Compiled out of non-editor / non-development builds.

LogError(string)

Logs an error. Always emitted (not stripped from player builds).

LogWarning(string)

Logs a warning. Compiled out of non-editor / non-development builds.