TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
Suggestion Archives
→
Completed
→
Feature request: Time stamps in logs
Pages:
1
Feature request: Time stamps in logs
oripessach
Posts: 259
June 30, 2014, 10:10:31 am
Some types of bugs are unnecessarily difficult to figure out without sub-second time stamps in the debug log. Anything that's timing related, in particular. It would be helpful if the standard trace() logs included a time stamp.
Photics
Posts: 718
July 02, 2014, 08:29:25 pm
I'm thinking that you might be able to do this manually with the "Print to Console" block and a code block to get the time.
Michael Garofalo
–
http://photics.com
– Author of
The Interactive Stencyl Textbook
oripessach
Posts: 259
July 02, 2014, 08:38:29 pm
I suppose I could, but then again, log timestamps are a pretty standard feature of debug log libraries, and there's a good reason why that is so - they make debugging timing issues a lot easier, and in some cases, they make debugging those issues at all possible.
Besides, if Stencyl has a block to get the current time, I haven't been able to find it.
Photics
Posts: 718
July 02, 2014, 08:51:21 pm
Quote from: oripessach on July 02, 2014, 08:38:29 pm
Besides, if Stencyl has a block to get the current time, I haven't been able to find it.
I think there should be a timestamp in the log. However, that might not happen right away – if at all. So, using custom haxe code to get the date / timestamp is a way to make more sense out of the logs today. Timestamp / Date are not standard blocks. There is a "Date and Time" extension in the Utilities section...
http://www.stencyl.com/developers/market/
...but I'm not too familiar with that. I've been manually creating code blocks to get the timestamp / date...
http://api.haxe.org/Date.html
Michael Garofalo
–
http://photics.com
– Author of
The Interactive Stencyl Textbook
oripessach
Posts: 259
July 02, 2014, 09:20:14 pm
Cool - thanks for the pointers.
captaincomic
Posts: 6108
August 07, 2014, 03:05:10 am
In 3.2 there will be a new logging framework which writes the timestamps to the logs and the new log viewer shows them too.
oripessach
Posts: 259
August 07, 2014, 09:55:54 am
Awesome. I know this is an obnoxious question to ask, but what's the ETA for 3.2?
rob1221
Posts: 9472
August 07, 2014, 10:04:12 am
There's no ETA yet, but any subscribers can access the private/nightly build that has the new log viewer.
https://twitter.com/Rob1221dev
Pages:
1