Skip to main content

@rbxts/rlog > RLog > clone

RLog.clone() method

Creates a new RLog instance with all the same settings and properties.

The provided parameters will be merged with the existing parameters on this instance.

Signature:

clone(params: RLogConstructorParameters): RLog;

Parameters

Parameter

Type

Description

params

RLogConstructorParameters

Returns:

RLog

A duplicate of this RLog instance.

Remarks

Everything is deep copied, so any mutations to the original will safely not replicate.