debug::timestamp(3tcl)
β¨ debug::timestamp β¨
okay so bestie, welcome to the debug::timestamp page π
this is the debug narrative corner of the manual β it lives in section 3tcl, and it's all about timestamping. tiny page, huge energy. let's go π
πΈ NAME πΈ
debug::timestamp β debug narrative β timestamping. that's it, that's the whole name section, she's short and she knows it β¨
π¦ SYNOPSIS π¦
package require Tcl 8.5 9
package require debug::timestamp ?1.1?
package require debug ?1.0.7?
debug timestamp
like. four whole lines. it's giving minimalism, it's giving confidence, we love her for it π«Ά
π DESCRIPTION π
π API π
debug timestampβ okay so this method hands you back millisecond timing information, measured either since a baseline or since the last call. why do you care? because it's lowkey perfect for a tag-specific prefix, where it'll automatically serve up caller info for every single use of that tag. OR, if you're feeling more surgical about it, you can drop it straight into a message when only specific places need that level of detail. main character tool, tbh. no cap. π₯
π BUGS, IDEAS, FEEDBACK π
ngl bestie, this document and the package it describes will undoubtedly contain bugs and other problems. it's not a vibe, it's just reality π
- Please report such in the category debug of the Tcllib Trackers [http://core.tcl.tk/tcllib/reportlist].
- Please also report any ideas for enhancements you may have for either package and/or documentation. we want them, fr fr π
- When proposing code changes, please provide unified diffs, i.e the output of
diff -u. - Note further that attachments are strongly preferred over inlined patches. Attachments can be made by going to the Edit form of the ticket immediately after its creation, and then using the left-most button in the secondary navigation bar. iykyk π
β KEYWORDS β
debug, log, narrative, timestamps, trace
π CATEGORY π
debugging, tracing, and logging β iconic trio, no notes π
π COPYRIGHT π
- Copyright (c) 200?, Colin McCormack, Wub Server Utilities
- Copyright (c) 2012, Andreas Kupries <andreas_kupries@users.sourceforge.net>
bestie this is where we say bye π source is tcllib, version 1.1 β thanks for reading, mwah, slay, periodt π β¨π¦π
π¦ where this page comes from
- debian trixie: tcllib 2.0+dfsg-4 Β· Tcl
- ubuntu questing: tcllib 2.0+dfsg-4
- ubuntu resolute: tcllib 2.0+dfsg-5 Β· Tcl
- ubuntu stonking: tcllib 2.0+dfsg-6 Β· Tcl
- Copyright (c) 2012, Andreas Kupries <andreas_kupries@users\&.sourceforge\&.net>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms