Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Logging/Trace #11

Open
tepGithub opened this issue Apr 18, 2013 · 1 comment
Open

Logging/Trace #11

tepGithub opened this issue Apr 18, 2013 · 1 comment

Comments

@tepGithub
Copy link
Contributor

Hi Alex,
As I'm implementing more and more stubbed functions, I felt there's a need to do a better logging/error reporting. I know in libGL.as you have TraceLog() class to do just this (through trace()).

However, I don't have Flash IDE when implementing this. I use Visual Studio for typing and cygwin to run my test code. Hence, I couldn't see trace() output. Do you know any solution for this?

In addition, we may need to separate code to do tracing and error reporting. I'm thinking to have couple helper functions in TraceLog class:

  • trace() - to trace code flow/execution, this will replace send()
  • error() - to report any error - will be saved into a string (I can display in a TextField)
  • log() - to do misc logging - will be saved into a string (I can display it in a TextField)

What do you think?

Thanks.

-tep

N.B: Which one is better, should I communicate thorugh github or do you prefer this kind of dicussion by emeail?

@alexmac
Copy link
Contributor

alexmac commented Apr 18, 2013

Sounds good to me, and I think its best to keep discussion here so other people that are interested can join in.

As for you issue not seeing trace output, I'm not sure what the problem is but have you read this: http://livedocs.adobe.com/flex/3/html/help.html?content=logging_04.html

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants