> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectdiscovery.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Goconsole.GoConsolePrinter

# Class: GoConsolePrinter

[goconsole](/templates/protocols/javascript/modules/goconsole).GoConsolePrinter

## Table of contents

### Constructors

* [constructor](/templates/protocols/javascript/modules/goconsole.GoConsolePrinter#constructor)

### Methods

* [Error](/templates/protocols/javascript/modules/goconsole.GoConsolePrinter#error)
* [Log](/templates/protocols/javascript/modules/goconsole.GoConsolePrinter#log)
* [Warn](/templates/protocols/javascript/modules/goconsole.GoConsolePrinter#warn)

## Constructors

### constructor

• **new GoConsolePrinter**(): [`GoConsolePrinter`](/templates/protocols/javascript/modules/goconsole.GoConsolePrinter)

#### Returns

[`GoConsolePrinter`](/templates/protocols/javascript/modules/goconsole.GoConsolePrinter)

#### Defined in

goconsole.ts:18

## Methods

### Error

▸ **Error**(`msg`): `void`

Error Method

#### Parameters

| Name  | Type     |
| :---- | :------- |
| `msg` | `string` |

#### Returns

`void`

#### Defined in

goconsole.ts:38

***

### Log

▸ **Log**(`msg`): `void`

Log Method

#### Parameters

| Name  | Type     |
| :---- | :------- |
| `msg` | `string` |

#### Returns

`void`

#### Defined in

goconsole.ts:22

***

### Warn

▸ **Warn**(`msg`): `void`

Warn Method

#### Parameters

| Name  | Type     |
| :---- | :------- |
| `msg` | `string` |

#### Returns

`void`

#### Defined in

goconsole.ts:30
