Sets custom logger implementation for the framework.
All log messages from internal services will be forwarded to the provided logger with automatic context injection (strategyName, exchangeName, symbol, etc.).
Custom logger implementing ILogger interface
setLogger({ log: (topic, ...args) => console.log(topic, args), debug: (topic, ...args) => console.debug(topic, args), info: (topic, ...args) => console.info(topic, args),}); Copy
setLogger({ log: (topic, ...args) => console.log(topic, args), debug: (topic, ...args) => console.debug(topic, args), info: (topic, ...args) => console.info(topic, args),});
Sets custom logger implementation for the framework.
All log messages from internal services will be forwarded to the provided logger with automatic context injection (strategyName, exchangeName, symbol, etc.).