Documentation
¶
Overview ¶
Command logdemo exercises every capability of the x/oslog and x/signpost packages so the output can be inspected in Console.app or `log stream`.
All records use the subsystem "com.tmc.appledemo". To watch them:
log stream --predicate 'subsystem == "com.tmc.appledemo"' --level debug --signpost
or in Console.app, search: subsystem:com.tmc.appledemo
Signpost intervals appear in Instruments' Points of Interest track when you record this process with the os_signpost or Points of Interest instrument.
Run once, or with -loop to emit continuously (^C to stop):
go run ./examples/os/logdemo go run ./examples/os/logdemo -loop
Click to show internal directories.
Click to hide internal directories.