API Reference > bentleyjs-core > Logging > Logger > initialize initialize MethodStatic Initialize the logger streams. Should be called at application initialization time. initialize(logError: undefined | LogFunction, logWarning?: LogFunction, logInfo?: LogFunction, logTrace?: LogFunction): void Parameter Type Description logError undefined | LogFunction logWarning LogFunction logInfo LogFunction logTrace LogFunction Returns - void Defined in core/bentley/src/Logger.ts Line 67 Last Updated: 11 June, 2024