File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -230,16 +230,6 @@ export default class LogMessage implements ILogMessage {
230230 throw err ;
231231 }
232232
233- /**
234- * Returns the compiled log object converted into JSON. This method utilizes `options.replacer` for the replacer function. It also uses
235- * [fast-safe-stringify](https://www.npmjs.com/package/fast-safe-stringify) to prevent circular reference issues.
236- * @param {boolean } format Whether to format the log object with line breaks and indentation.
237- * @returns {string } The JSON string.
238- */
239- toJSON ( format ?: boolean ) {
240- return stringify ( this . value , this . __opts . replacer ?? undefined , format ? 2 : 0 ) ;
241- }
242-
243233 /**
244234 * Converts the log to a string using a specific/custom formatter.
245235 * @returns {string } The formatted log as a string.
You can’t perform that action at this time.
0 commit comments