Skip to content

Commit be93fa5

Browse files
authored
chore(tracer): mark createTracer helper function as deprecated (#1692)
1 parent 6a470cf commit be93fa5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: packages/tracer/src/helpers.ts

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
import { Tracer } from '.';
22
import type { TracerOptions } from './types';
33

4+
/**
5+
* Create a new tracer instance with the given options.
6+
*
7+
* @deprecated - This function will be removed in the next major release. Use the Tracer class directly instead.
8+
*/
49
const createTracer = (options: TracerOptions = {}): Tracer =>
510
new Tracer(options);
611

0 commit comments

Comments
 (0)