---
title: "TraceLog | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/TraceLog/"
---

# TraceLog

> `void`

## Functions

### enableTraceLog()

```ts
function enableTraceLog(
   value, 
   editorUrlParameter, 
   scope, 
   traceLogId?): void;
```

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `value` | `boolean` |
| `editorUrlParameter` | `string` |
| `scope` | `string` |
| `traceLogId?` | `string` |

#### Returns

***

### getTraceLogId()

```ts
function getTraceLogId(): any;
```

#### Returns

`any`

***

### traceLog()

```ts
function traceLog(data, includeStackTrace?): void;
```

#### Parameters

| Parameter | Type | Default value |
| ------ | ------ | ------ |
| `data` | `object` | `undefined` |
| `includeStackTrace` | `boolean` | `false` |

#### Returns

`void`
