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

Implemented output enhancements to Ape.log() #39

Merged
merged 1 commit into from
Aug 25, 2013

Conversation

ptejada
Copy link
Contributor

@ptejada ptejada commented Aug 25, 2013

Added the ability to Ape.log() to output the actual structure of a complex object to the console. Assuming data is a complex object the current output would be:

[object Object]

with these update it would be something like:

({
  0: #1={
    pipe: {},
    channels: {
      music: {
        pipe: {},
        users: {
          '09596760c3bd9ec6ff804f24812546eb': #1#
        }
      }
    },
    text: "helloworld",
    chans: [
      {
        pipe: {},
        userslist: {}
      },{
        pipe: {},
        userslist: {}
      }
    ]
  }
})

The #1= refers to a reference definition, while #1# references the same object define by #1=

lcharette added a commit that referenced this pull request Aug 25, 2013
Implemented output enhancements to Ape.log()
@lcharette lcharette merged commit c3d0b69 into APE-Project:master Aug 25, 2013
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.

2 participants