@rbxts/rlog > RLog > (constructor)
RLog.(constructor)
Constructs a new RLog instance.
Signature:
constructor(config?: PartialRLogConfig, context?: LogContext, inheritDefault?: boolean);
Parameters
Parameter | Type | Description |
---|---|---|
config | (Optional) Configuration settings to use for this logger instance. | |
context | (Optional) The LogContext to use as a base for this instance. | |
inheritDefault | boolean | (Optional) Whether to merge configs with the default instance. Defaults to true. |