@rbxts/rlog > RLogConfig > minLogLevel
RLogConfig.minLogLevel property
Sets the minimum LogLevel for data to be logged.
Messages below the minimum level will be ignored.
Signature:
readonly minLogLevel: LogLevel;
Example
let logger = new RLog();
logger.v("Hello verbose!");
logger.d("Hello debug!");
// > [VERBOSE]: Hello verbose!
// > [DEBUG]: Hello debug!
logger = logger.withMinLogLevel(LogLevel.DEBUG);
logger.v("Hello verbose!");
logger.d("Hello debug!");
// > [DEBUG]: Hello debug!