Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log format changed #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

chenyue229266
Copy link

I've changed the format of the log.

For example, there were four original logs:

[=>] JavaScript_Execute | someJavascriptCode
    [=>] Element::getAttribute | manifest
    [<=] Element::getAttribute | Normal Exit
[<=] JavaScript_Execute | Normal Return"

Now, these four logs become:

<log level="0">
    <code name="javascript" type="call">
        someJavascriptCode
    <\code>
<\log>

<log level="1">
    <func class="Element" name="getAttribute" type="call">
        manifest
    <\func>
<\log>

<log level="1">
    <func class="Element" name="getAttribute" type="return">
        Normal Exit
    <\func>
<\log>

<log level="0">
    <code name="javascript" type="return">
        Normal Return
    <\code>
<\log>

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

Successfully merging this pull request may close these issues.

1 participant