Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | /**
* semantic-log — emitter surface.
*
* Everything a process needs to *produce* records: the logger, the ambient
* context, identity, rendering, the writers and the local store. Nothing here
* reaches `fastify`, so a runtime can depend on this entry and stay free of the
* cluster service's server dependency — which is the whole reason the package
* has subpath exports rather than one.
*
* The package root (`index.ts`) is the union of this and `service.ts`; import
* either from there when the split does not matter.
*/
export {createRingBuffer} from './src/buffer.ts';
export type {RingBuffer} from './src/buffer.ts';
export {cachePaths, cacheRecordIds, openCache} from './src/cache.ts';
export type {
CacheOptions,
PayloadReader,
PayloadStore,
RecordCache,
RecordStore,
} from './src/cache.ts';
export {callPhaseMessage, CALLS_CAPABILITY, createCallChannel} from './src/capability.ts';
export type {CallChannel, CallEvent, CallPhase, CallWriter} from './src/capability.ts';
export {
bindInboundLeg,
bindLeg,
bindTrace,
capabilityState,
currentCapabilities,
currentContext,
currentLeg,
currentTrace,
enterCapability,
enterFlow,
enterInboundLeg,
enterTrace,
isLegId,
isLegSeq,
isServiceName,
lastRecordId,
recordDecision,
rememberRecord,
step,
takeDecision,
withCapability,
withFlow,
withIntent,
} from './src/context.ts';
export type {
AmbientContext,
DecisionHolder,
LegCounter,
LegIdentity,
RecordMemory,
} from './src/context.ts';
export {decide} from './src/decide.ts';
export type {Branch} from './src/decide.ts';
export {fingerprint, serializeForIdentity, withIdentity} from './src/fingerprint.ts';
export {enabled, LEVEL_NAMES, levelName, LEVELS, levelValue} from './src/level.ts';
export type {LevelName} from './src/level.ts';
export {DEFAULT_RETENTION_LIMIT, LogBase, resolveHome} from './src/logBase.ts';
export type {
CallOptions,
ClusterOptions,
LogBaseOptions,
LoggerFace,
RetentionOptions,
} from './src/logBase.ts';
export {toLogCall} from './src/logCall.ts';
export type {LogCall} from './src/logCall.ts';
export {captureProcessFailures, createLogger} from './src/logger.ts';
export type {Format, Logger, LoggerOptions} from './src/logger.ts';
export {mask} from './src/normalize.ts';
export {
CAP_FIELD,
decodeCapabilities,
encodeCapabilities,
FLOW_FIELD,
identityHeaders,
LEG_FIELD,
readIdentities,
SEQ_FIELD,
TO_FIELD,
TRACE_FIELD,
TRACE_HEADER,
withoutCapabilities,
} from './src/propagation.ts';
export type {Identities} from './src/propagation.ts';
export type {
Decision,
ErrorDetail,
FlowState,
IntentState,
LogRecord,
RefKind,
Refs,
RequestDetail,
ResponseDetail,
} from './src/record.ts';
export {matchesPath, redactRecord} from './src/redact.ts';
export {hyperlink, mintRecordRef, REF_LENGTH, REF_SCHEME, refUri} from './src/refs.ts';
export {renderHuman, renderJson} from './src/render.ts';
export type {RenderOptions} from './src/render.ts';
export {compactStack} from './src/stack.ts';
export {
createFanoutWriter,
getWriter,
setWriter,
stderrWriter,
stdoutWriter,
} from './src/writer.ts';
export type {Writer} from './src/writer.ts';
|