Skip to content

let trace being redirected to browser.console #122

Description

@postite

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions