LogfireClient
Defined in: packages/core/src/core/events/logfire-handler.ts:23
Methods
Section titled “Methods”configure()
Section titled “configure()”configure(
serviceName):void
Defined in: packages/core/src/core/events/logfire-handler.ts:28
Parameters
Section titled “Parameters”serviceName
Section titled “serviceName”string
Returns
Section titled “Returns”void
info()
Section titled “info()”info(
message,attributes):void
Defined in: packages/core/src/core/events/logfire-handler.ts:30
Parameters
Section titled “Parameters”message
Section titled “message”string
attributes
Section titled “attributes”Record<string, unknown>
Returns
Section titled “Returns”void
isConfigured()
Section titled “isConfigured()”isConfigured():
boolean
Defined in: packages/core/src/core/events/logfire-handler.ts:27
True when a host application (or an earlier guard instance) already configured logfire in this process; the handler adopts it instead of calling configure again.
Returns
Section titled “Returns”boolean
shutdown()
Section titled “shutdown()”shutdown():
Promise<void>
Defined in: packages/core/src/core/events/logfire-handler.ts:31
Returns
Section titled “Returns”Promise<void>
span()
Section titled “span()”span(
name,attributes):void
Defined in: packages/core/src/core/events/logfire-handler.ts:29
Parameters
Section titled “Parameters”string
attributes
Section titled “attributes”Record<string, unknown>
Returns
Section titled “Returns”void