Code Docta (Nick C.) 638 Posted April 8, 2015 Report Share Posted April 8, 2015 Greetings Ubotters!! This is what I have been using in my bots for logging and debugging to help sort issues and just let customers see what is going on too. This is a basic example to build from and ,make it your own. You will need datetinemanipulation plugin from ubotdev.com or you can just use python for dates (python code not included)that will be another tutorial coming soon I used "Desktop" in "$special folder" for demonstration purposes. I use "Application" as it stores in the same place where the bot is located. I also append "\Data" to it to store in that file to keep it cleaner. So just hit Ctrl+c and type curr and it should be the first one and you can drag it to where you want or just hit Enter and it will go to where you ate selected in the editor. "Selected" is where the dotted box is. Then start typing hit Enter and bam! EZ eh? It's EZ it;s simple and if bot stops or crashes you and your customer will know where it crashed, while in the Studio or Compiled. Enjoy!! CD example -- logging.ubot Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted April 8, 2015 Author Report Share Posted April 8, 2015 Just wanted to add that you can add variables and functions too set(#thread ID, "Thread 5", "Global")Currnent Status("{#thread ID} has completed successfully!!") CD Quote Link to post Share on other sites
Ptrick125 45 Posted April 9, 2015 Report Share Posted April 9, 2015 This is pretty neat, thanks for the share! Quote Link to post Share on other sites
Hightower 2 Posted April 25, 2015 Report Share Posted April 25, 2015 nice share. thx also try latest ubot logging features. 1 Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted April 27, 2015 Author Report Share Posted April 27, 2015 Although I meet the requirements not all are as fortunate. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.