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

let trace being redirected to browser.console #122

Open
postite opened this issue Nov 29, 2016 · 2 comments
Open

let trace being redirected to browser.console #122

postite opened this issue Nov 29, 2016 · 2 comments

Comments

@postite
Copy link

postite commented Nov 29, 2016

in certain case , trace output could be very annoying .

i hacked it like this:

public function moveConsole(){
    var console=body.querySelector("#debug_console");
    console.style.position="relative";
    var consoleWrapper=js.Browser.document.createElement("div");
    consoleWrapper.style.backgroundColor="#00AAFF";
    consoleWrapper.style.width= consoleWrapper.style.height="200px";
    consoleWrapper.style.position="absolute";
    consoleWrapper.style.right="0";
    consoleWrapper.style.overflow="auto";
    body.appendChild(consoleWrapper);
    
    consoleWrapper.appendChild(console);
}

why not having such an option ?
or simply let trace output to the console ?

thx

@markknol
Copy link
Contributor

markknol commented Nov 29, 2016

What do you want to achieve? trace already logs in both browser console and visual console:

image


image

@postite
Copy link
Author

postite commented Nov 29, 2016

mm my bad ! didn't see it :)
capture d ecran 2016-11-29 a 12 35 25

ok then ! perhaps just allow a option for disabling the trace output on the visual console .

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

No branches or pull requests

2 participants