Jump to content

M2 Improved TraceError


Recommended Posts

What is this "Improved TraceError" ?

I always get bored with the coding style while coding.

Exmaple Old:

import dbg
value = 15
dbg.TraceError("Testing Code {}".format(value))

syserr output
0717 14:46:21398 :: Testing Code 15


This output is very difficult, and I constantly need to do "import" repeatedly.
It doesn't show in which file and on which line the output is given.
I have improved this significantly.
 

Exmaple New:

value = 15
printb("Testing Code {}".format(value))

syserr output
0717 14:46:21398 :: [Name:intrologin.py Line:188] Testing Code 15


This is the hidden content, please
 or 
This is the hidden content, please

 

  • Metin2 Dev 45
  • Good 6
  • Love 2
  • Love 6
Link to comment
Share on other sites

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.