Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.
/ trace-t Public archive

functions for tracing and monitoring execution

License

Notifications You must be signed in to change notification settings

archivedb/trace-t

Repository files navigation

trace-t

Build Status Test Coverage NPM Version

functions for tracing and monitoring execution

installation

yarn add trace-t

or

npm install trace-t --save

usage

import trace from 'trace-t'

const x = 42

const r = trace('x is')(x)

// r === x

outputs

x is 42

api

trace

trace: (...ms: Array<{}>) => <A>(x: A) => A

traceStack

traceStack: (...ms: Array<{}>) => <A>(x: A) => A

traceUsing

traceUsing: (log: Log) => (...ms: Array<{}>) => <A>(x: A) => A

where

type Log = (...xs: Array<{}>) => void

references

the base package / Debug.Trace

license

MIT

About

functions for tracing and monitoring execution

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published