---
nav-title: "trace How-To"
title: "trace"
environment: nativescript
description: "Examples for using trace"
previous_url: /ApiReference/trace/HOW-TO
---
# Trace
Tracing information about your app requires the "trace" module.
{%snippet trace-require%}

### Tracing all categories of events.
{%snippet trace-all-categories%}

### Tracing specific categories of events.
{%snippet trace-specific-categories%}

### Write your own trace message.
{%snippet trace-message%}
