Skip to main content

Function: getLogger()

function getLogger(options: GetLoggerOptions): GalileoLogger;
Defined in: src/singleton.ts Utility function to retrieve an existing GalileoLogger or create a new one if it does not exist. This method first computes the key from the parameters, checks if a logger exists in the cache, and if not, creates a new GalileoLogger.

Parameters

options

GetLoggerOptions = {} Configuration options

Returns

GalileoLogger An instance of GalileoLogger corresponding to the key