Skip to main content

Function: init()

function init(options: GetLoggerOptions & object): Promise<void>;
Defined in: src/singleton.ts Get/Create new logger (like getLogger()), but also provides session initialization. If no options are provided, defaults to the following environment variables:
  • GALILEO_PROJECT_NAME
  • GALILEO_LOG_STREAM_NAME

Parameters

options

GetLoggerOptions & object = {} Configuration options to initialize the logger

Returns

Promise<void>