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

Logging/Trace #11

@tepGithub

Description

@tepGithub

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions