---
title: "Timestamps"
description: "Learn how to use the Timestamps feature in WebSerial Pro to log messages with time information for better tracking and analysis."
---

import { Callout } from 'nextra/components'
import ProCallout from '@/src/components/ProCallout';

# Timestamps

<br/>
<ProCallout />

<img src="/assets/images/v2/timestamps.png" alt="Timestamps Button" width="500px" className="card-preview" />

Timestamps lets you log messages with time added to start of each line. It's a great way to keep track of your logs and when a certain event happens. Ultimately it's can extremely useful tool in most scenarios which can used to analyze scheduled tasks, timers, and task execution times.

<Callout>
Timestamps in WebSerial Pro are now syncronized with your microcontroller without any external software or hardware dependency using a clever trick! This keeps the time same across multiple opened windows and it's unaffected by the latency of transmission.
</Callout>

<br/>
<img src="/assets/images/v2/timestamps-settings.png" alt="Export Logs Button" width="1200px" className="card-preview" />
<br/>

Users can easily enable the timestamps via their WebSerial settings panel. To further improve the user experience, if you don't want the timestamps to be selectable while you try to copy text from the terminal, then you can also easy switch that off using "Prevent Copying" toggle button.
