Insomnia-Script-SDK-Docs
    Preparing search index...

    Class Console

    A custom console implementation that provides logging functionality with various log levels and the ability to store log entries.

    • The clear method is currently not supported and will throw an error if called.
    console.log('This is a log message');
    console.warn('This is a warning');
    console.error('This is an error');
    console.debug({ key: 'value' });
    console.info('Informational message');
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    rows: Row[] = []

    Methods

    • Clears the console output for the specified log level. This method is currently not supported.

      Parameters

      • _level: LogLevel
      • Optional_message: any
      • ..._optionalParams: any[]

      Returns never