KOS context logger for this model instance. Automatically injected by the
decorator. Shared across all instances of the same model type for optimal performance. Provides structured logging with debug(), info(), warn(), and error() methods. Logger context is automatically set to the model type name unless overridden.
Interface for models using
Kos Logger Aware
decorator. Use TypeScript interface merging to add the logger property to your model class.
Example