https://discord.gg/botpress logo
How to print to bp Logs?
# 🤝help
c
Can you log messages to the bp Logs? I have a bunch of console.logs in my hooks but they never seem to show up in the logs, do console.logs work there, should I be using something else instead?
p
Yes you can, I've just tested using console.log() in a hook and it works as expected. Are yougetting any errors?
c
Thanks for clarifying, I appreciate the response. I was able to log something, just not where I need to see the information (due to an error).
p
Do you still need assistance with this? Please clarify where you want to see the log output and the nature of the error, if so.