MCPcopy Create free account

hub / github.com/dahlia/logtape / functions

Functions981 in github.com/dahlia/logtape

↓ 1 callersFunctionformatCategoryMatcher
( category: string | readonly string[] | RegExp, )
packages/testing/src/mod.ts:455
↓ 1 callersFunctionformatContext
* Formats additional context information for the log entry. * Includes category, properties, and other metadata.
packages/windows-eventlog/src/formatter.ts:33
↓ 1 callersFunctionformatDefaultJsonLinesRecord
( record: LogRecord, lineEnding: string, )
packages/logtape/src/formatter.ts:625
↓ 1 callersFunctionformatLocalDateTimeTimezone
(ts: number)
packages/logtape/src/formatter.test.ts:36
↓ 1 callersFunctionformatLocalDateTimeTimezone
(ts: number)
packages/pretty/src/formatter.test.ts:18
↓ 1 callersFunctionformatLogMessage
(record: LogRecord)
packages/cloudwatch-logs/src/sink.ts:120
↓ 1 callersFunctionformatLogfmtValue
(value: unknown)
packages/logtape/src/formatter.ts:1357
↓ 1 callersFunctionformatMap
(value: ReadonlyMap<unknown, unknown>)
packages/testing/src/mod.ts:573
↓ 1 callersFunctionformatMessage
* Formats a log record message into a string suitable for Windows Event Log. * Combines the template and arguments into a readable message.
packages/windows-eventlog/src/formatter.ts:7
↓ 1 callersFunctionformatMessage
(record: LogRecord)
packages/testing/src/mod.ts:507
↓ 1 callersFunctionformatMessageMatcher
( matcher: string | RegExp | ((record: LogRecord) => boolean), )
packages/testing/src/mod.ts:469
↓ 1 callersFunctionformatProperties
( properties: Readonly<Record<string, unknown>> | null | undefined, )
packages/testing/src/mod.ts:519
↓ 1 callersFunctionformatPropertiesMatcher
( matcher: Readonly<Record<string, unknown>> | PropertyMatcher, )
packages/testing/src/mod.ts:481
↓ 1 callersFunctionformatSet
(value: ReadonlySet<unknown>)
packages/testing/src/mod.ts:583
↓ 1 callersFunctionformatStructuredData
* Formats structured data from log record properties. * @since 0.12.0
packages/syslog/src/syslog.ts:254
↓ 1 callersFunctionformatSyslogMessage
* Formats a log record as RFC 5424 syslog message. * @since 0.12.0
packages/syslog/src/syslog.ts:279
↓ 1 callersFunctionformatTimestamp
* Formats a timestamp (number) as RFC 3339 timestamp for syslog. * @since 0.12.0
packages/syslog/src/syslog.ts:204
↓ 1 callersFunctionformatter
(record: LogRecord)
packages/redaction/src/pattern.test.ts:273
↓ 1 callersMethodgetActiveSpan
* Gets the currently active span, if any.
packages/sentry/src/mod.ts:136
↓ 1 callersFunctiongetAsyncDriver
()
packages/file/src/timefilesink.test.ts:123
↓ 1 callersFunctiongetBufferKey
( category: readonly string[], properties: Record<string, unknown>, )
packages/logtape/src/sink.ts:832
↓ 1 callersMethodgetClient
* Gets the currently active Sentry client, if any.
packages/sentry/src/mod.ts:149
↓ 1 callersFunctiongetContextKey
(properties: Record<string, unknown>)
packages/logtape/src/sink.ts:818
↓ 1 callersFunctiongetCryptoKeyHmacHash
( key: CryptoKey, )
packages/redaction/src/field.ts:1203
↓ 1 callersFunctiongetDateParts
(ts: number, config: TimeZoneConfig)
packages/logtape/src/formatter.ts:370
↓ 1 callersFunctiongetDateParts
(ts: number, config: TimeZoneConfig)
packages/pretty/src/formatter.ts:305
↓ 1 callersFunctiongetDenoAsyncDriver
()
packages/file/src/timefilesink.test.ts:103
↓ 1 callersFunctiongetElysiaRouteEntries
( plugin: unknown, visited = new Set<object>(), )
packages/elysia/src/mod.ts:838
↓ 1 callersFunctiongetErrorProperty
( properties: Readonly<Record<string, unknown>>, )
packages/sentry/src/mod.ts:77
↓ 1 callersFunctiongetErrorStatus
* Get the HTTP status code from an error context. * Checks error.status first, then falls back to error code mapping.
packages/elysia/src/mod.ts:717
↓ 1 callersFunctiongetHmacHash
( key: string | Uint8Array | ArrayBuffer | CryptoKey, hash: HmacPseudonymizerOptions["hash"], )
packages/redaction/src/field.ts:1186
↓ 1 callersMethodgetIsolationScope
* Gets the current isolation scope.
packages/sentry/src/mod.ts:163
↓ 1 callersFunctiongetLevelName
* Converts Windows Event Log level number to readable name
packages/windows-eventlog/src/powershell.ts:195
↓ 1 callersFunctiongetLoggerForCategory
(category: readonly string[])
packages/adaptor-log4js/src/mod.ts:354
↓ 1 callersFunctiongetNodeAsyncDriver
()
packages/file/src/timefilesink.test.ts:115
↓ 1 callersFunctiongetOwnProperty
* Safely access an own property from an object, blocking prototype pollution. * * @param obj The object to access the property from. * @param key T
packages/logtape/src/logger.ts:2709
↓ 1 callersFunctiongetParameterizedString
* Converts a LogTape {@link LogRecord} into a Sentry {@link ParameterizedString}. * * This preserves the template structure for better message group
packages/sentry/src/mod.ts:29
↓ 1 callersFunctiongetProcessId
* Gets the current process ID. * @since 0.12.0
packages/syslog/src/syslog.ts:343
↓ 1 callersFunctiongetRawMessageTemplate
( rawMessage: string | TemplateStringsArray, )
packages/logtape/src/filter.ts:498
↓ 1 callersFunctiongetRouteContext
( value: unknown, )
packages/elysia/src/mod.ts:875
↓ 1 callersFunctiongetSourceCode
( context: Rule.RuleContext, )
packages/lint/src/utils.ts:153
↓ 1 callersFunctiongetSystemHostname
* Gets the system hostname. * @since 0.12.0
packages/syslog/src/syslog.ts:324
↓ 1 callersFunctionhasEnumerableProperties
(properties: unknown)
packages/logtape/src/logger.ts:192
↓ 1 callersFunctionhasOtlpEndpoint
* Checks if an OTLP endpoint is configured via environment variables or options. * Checks the following environment variables: * - `OTEL_EXPORTER_OT
packages/otel/src/mod.ts:72
↓ 1 callersFunctionhasStatSyncDriver
(options: object)
packages/file/src/timefilesink.ts:215
↓ 1 callersFunctionhasStringAccessorDescriptor
( descriptors: PropertyDescriptorMap, )
packages/testing/src/mod.ts:270
↓ 1 callersMethodinitialize
* Initializes the FFI library and registers the event source. * @throws {WindowsEventLogError} If initialization fails
packages/windows-eventlog/src/ffi.ts:6
↓ 1 callersFunctioninitializeLoggerProvider
* Initializes the logger provider asynchronously. * This is used when the user doesn't provide a custom logger provider. * * If no OTLP endpoint is
packages/otel/src/mod.ts:367
↓ 1 callersFunctioninspect
( value: unknown, options?: { colors?: boolean }, )
packages/logtape/src/formatter.ts:74
↓ 1 callersFunctioninstall
( log4jsModule: typeof log4js, logger?: Logger, options?: Log4jsSinkOptions, )
packages/adaptor-log4js/src/mod.ts:482
↓ 1 callersFunctioninstall
( loggerOrOptions?: Logger | WinstonSinkOptions, options: WinstonSinkOptions = {}, )
packages/adaptor-winston/src/mod.ts:425
↓ 1 callersFunctionisConfigShadowed
(name: string)
packages/lint/src/deno/plugin.ts:529
↓ 1 callersMethodisEnabledFor
(level: LogLevel)
packages/logtape/src/logger.ts:1751
↓ 1 callersMethodisEnabledFor
(level: LogLevel)
packages/logtape/src/logger.ts:2385
↓ 1 callersMethodisEnabledForResolved
(level: LogLevel)
packages/logtape/src/logger.ts:1764
↓ 1 callersFunctionisFileNotFoundError
(error: unknown)
packages/file/src/filesink.base.ts:722
↓ 1 callersFunctionisGetterShadowed
(name: string)
packages/lint/src/deno/plugin.ts:145
↓ 1 callersFunctionisInRanges
* Binary search to check if a value is within any range
packages/pretty/src/wcwidth.ts:274
↓ 1 callersFunctionisLazyShadowed
(name: string)
packages/lint/src/deno/plugin.ts:152
↓ 1 callersFunctionisLogRecordKey
(key: PropertyKey)
packages/testing/src/mod.ts:286
↓ 1 callersFunctionisLoggerConfigMeta
* Check if a config is for the meta logger.
packages/logtape/src/config.ts:116
↓ 1 callersFunctionisLoggerExpression
( node: AnyNode, scope: AnyNode, depth = 0, )
packages/lint/src/utils.ts:50
↓ 1 callersFunctionisLogtapeMetaCategory
(node: any)
packages/lint/src/core/ast.ts:730
↓ 1 callersFunctionisMapResult
(node: any)
packages/lint/src/core/ast.ts:359
↓ 1 callersFunctionisNestedAccess
* Check if a property access key contains nested access patterns. * @param key The property key to check. * @returns True if the key contains nested
packages/logtape/src/logger.ts:2698
↓ 1 callersFunctionisPromiseCombinatorArrayArg
(arrayNode: any)
packages/lint/src/core/ast.ts:512
↓ 1 callersFunctionisPromiseObject
(value: unknown)
packages/logtape/src/logger.ts:108
↓ 1 callersMethodisSinkDispatchPlanFresh
( level: LogLevel, plan: SinkDispatchPlan, )
packages/logtape/src/logger.ts:1685
↓ 1 callersFunctionisStructuredDataName
* Validates an RFC 5424 SD-NAME value.
packages/syslog/src/syslog.ts:234
↓ 1 callersFunctionisSummaryRecord
(record: LogRecord)
packages/logtape/src/filter.ts:468
↓ 1 callersFunctionisWideCharacter
* Check if a character code point represents a wide character. * Based on wcwidth's wide character table (selected ranges from Unicode 15.1.0). * *
packages/pretty/src/wcwidth.ts:312
↓ 1 callersFunctionisZeroWidth
* Check if a character is zero-width (combining marks, etc.) * Based on wcwidth's zero-width table. * * @param code Unicode code point * @returns
packages/pretty/src/wcwidth.ts:301
↓ 1 callersFunctionjsonReplacer
(_key: string, value: unknown)
packages/logtape/src/formatter.ts:555
↓ 1 callersFunctionkeyToBytes
(key: string | Uint8Array | ArrayBuffer)
packages/redaction/src/field.ts:1173
↓ 1 callersFunctionlintAndFix
( sourceCode: string, includeRules: string[], )
packages/lint/src/deno/plugin.test.ts:74
↓ 1 callersFunctionmapLevelForEvents
(level: LogLevel)
packages/sentry/src/mod.ts:52
↓ 1 callersFunctionmapLevelForLogs
(level: LogLevel)
packages/sentry/src/mod.ts:61
↓ 1 callersFunctionmapLevelToSeverityNumber
(level: string)
packages/otel/src/mod.ts:576
↓ 1 callersFunctionmapLogLevelToEventType
(level: LogLevel)
packages/windows-eventlog/src/types.ts:93
↓ 1 callersFunctionmarkSinkAsImmediate
(sink: T)
packages/logtape/src/sink.ts:16
↓ 1 callersFunctionmatchCategoryColor
* Matches a category against category color patterns. * Returns the color of the first matching pattern, or null if no match.
packages/pretty/src/formatter.ts:170
↓ 1 callersFunctionmatchesCategory
( category: readonly string[], expected: string | readonly string[] | RegExp, )
packages/testing/src/mod.ts:343
↓ 1 callersFunctionmatchesCategoryPrefix
( category: readonly string[], prefix: string | readonly string[], )
packages/testing/src/mod.ts:359
↓ 1 callersFunctionmatchesMessage
( record: LogRecord, matcher: string | RegExp | ((record: LogRecord) => boolean), )
packages/testing/src/mod.ts:375
↓ 1 callersFunctionmatchesProperties
( properties: Readonly<Record<string, unknown>> | null | undefined, record: LogRecord, matcher: Readonly
packages/testing/src/mod.ts:389
↓ 1 callersFunctionmatchesPropertyValue
(actual: unknown, expected: unknown)
packages/testing/src/mod.ts:403
↓ 1 callersFunctionmaterializeLogRecord
(record: LogRecord)
packages/testing/src/mod.ts:233
↓ 1 callersMethodmessage
()
packages/logtape/src/logger.ts:1914
↓ 1 callersFunctionnormalizeCategory
* Normalize category to array format.
packages/elysia/src/mod.ts:695
↓ 1 callersFunctionnormalizeCategory
* Normalize category to array format.
packages/fastify/src/mod.ts:162
↓ 1 callersFunctionnormalizeCategory
* Normalize category to array format.
packages/drizzle-orm/src/mod.ts:216
↓ 1 callersFunctionnormalizeCategory
* Normalize category to array format.
packages/hono/src/mod.ts:648
↓ 1 callersFunctionnormalizeCategory
* Normalize category to array format.
packages/koa/src/mod.ts:647
↓ 1 callersFunctionnormalizeCategory
* Normalize category to array format.
packages/express/src/mod.ts:671
↓ 1 callersFunctionnormalizeIconSpacing
* Normalize icon spacing to ensure consistent column alignment. * * All icons will be padded with spaces to match the width of the widest icon, * e
packages/pretty/src/formatter.ts:384
↓ 1 callersFunctionnormalizeRequestContextOptions
* Normalize request context options.
packages/elysia/src/mod.ts:289
↓ 1 callersFunctionnormalizeRequestContextOptions
* Normalize request context options.
packages/hono/src/mod.ts:248
↓ 1 callersFunctionnormalizeRequestContextOptions
* Normalize request context options.
packages/koa/src/mod.ts:273
↓ 1 callersFunctionnormalizeRequestContextOptions
* Normalize request context options.
packages/express/src/mod.ts:272
↓ 1 callersFunctionnormalizeRequestIdOptions
* Normalize request ID options.
packages/elysia/src/mod.ts:300
← previousnext →501–600 of 981, ranked by callers