Post

Replies

Boosts

Views

Activity

Reply to (How) Can I use DocC for internal documentation?
Since Tim answered this question there has been some changes and I wanted to chime in with an updated answer. You can document any symbols from private to public, the easiest way to set the minimum access levels to document is via the swift package command from the command line. First you need to generate your module's symbol graph: swift package dump-symbol-graph --minimum-access-level private Then you copy the symbol graph to your doc bundle and run docc like usual from the command line: docc convert MyDocs.docc
May ’22
Reply to A way to combine signpost with backtrace data?
So, migrated successfully to using the "DynamicStackTracing" category and I can still see my intervals plotted.However I haven't been successful at capturing the backtrace:<os-signpost-interval-schema> ... <start-pattern> <message>"subscribe:" ?subscription-name</message> <user-backtrace>?backtrace</user-backtrace> </start-pattern>Fails to compile with:[TMPLTDEF1] Invalid slot 'user-backtrace' not defined in corresponding deftemplate 'os-signpost'.
Feb ’20