You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I reopen this issue because I still don’t have the solution... Even using the Adding your own logger to the container example, the instance of my logger is still not active. Even copying the example, the custom logger didn’t work.
Hello,
You're correctly changing the logger.
The problem is that the neural trainer does not use the logger from the container.
When the neural trainer is created it accepts a setting "log" that can be true to use the default console, false to don't log or a function to use this function to log. https://github.com/axa-group/nlp.js/blob/master/packages/neural/src/neural-network.js#L40
You can change the function that logs the neural trainer:
I would like to change the dock logger so I can use my own
I use the example given here to register my own logger
But the logs still remain unchanged
The text was updated successfully, but these errors were encountered: