Add os.Logger categories, OSSignposter wrapper and shortHash helper; enforce exact Debug/Release/install signatures; lint tests; update M0 docs and progress.
14 lines
395 B
Swift
14 lines
395 B
Swift
import os
|
|
|
|
/// A started signpost interval.
|
|
///
|
|
/// The value is intentionally not `Sendable`: an interval must begin and end on the same task.
|
|
/// Obtain one from ``Signposts/begin(_:)`` and pass it to ``Signposts/end(_:)``.
|
|
public struct SignpostInterval {
|
|
/// The interval name.
|
|
public let name: SignpostName
|
|
|
|
let state: OSSignpostIntervalState
|
|
let signposter: OSSignposter
|
|
}
|