We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I needed to do login and logout logging, and I'm using the same custom logging:
export const customLog = (input, level, url) => { if (input != null ) { const customJSON = log => ({ msg: {input}, level: {level}, }); remoteLogin.apply(log, { format: customJSON, url: ${url} }); log.enableAll(); log.info(input); } };
${url}
but I got this error:
Error: You can assign a plugin only one time at Object.apply (loglevel-plugin-remote.js:258:1)
Please help! Thanks so much!
The text was updated successfully, but these errors were encountered:
Any update on the same?
Sorry, something went wrong.
No I got the same error.
I got the same issue, any update on this one?
I was initiating remote.apply inside useEffect. I moved outside the Functional component and it fixed it.
remote.apply
useEffect
No branches or pull requests
I needed to do login and logout logging, and I'm using the same custom logging:
export const customLog = (input, level, url) => {
if (input != null ) {
const customJSON = log => ({
msg: {input},
level: {level},
});
remoteLogin.apply(log, { format: customJSON, url:
${url}
});log.enableAll();
log.info(input);
}
};
but I got this error:
Error: You can assign a plugin only one time
at Object.apply (loglevel-plugin-remote.js:258:1)
Please help! Thanks so much!
The text was updated successfully, but these errors were encountered: