---
title: configureConsole
summary: Configure the behaviour of console.log and related console logging functions.
url: https://www.fastly.com/documentation/reference/compute/sdks/javascript/js-compute/logger/fn.configureConsole/
---

**Kind:** Function  
**Module:** [logger](https://www.fastly.com/documentation/reference/compute/sdks/javascript/js-compute/logger/)  
**Package:** @fastly/js-compute 4.0.1  
**Since:** 3.28.0  
**Source:** https://github.com/fastly/js-compute-runtime/blob/70cf30af4e657879b2d1e7eafab880e39e3a3f7d/types/logger.d.ts#L62

```javascript
configureConsole(loggingOptions: ConsoleLoggingOptions): void
```

Configure the behaviour of `console.log` and related console logging functions.

**Parameters**

- `loggingOptions`: `ConsoleLoggingOptions`

**Returns**

`void`
