This isn't a terminal. It's only a log console. Great for showing compilation output, long responses or general logs.
By itself, the package doesn't do anything but it provides a service other packages can consume:
package.json
"consumedServices": {
"console-panel": {
"versions": {
"^1.0.0": "consumeConsolePanel"
}
}
}
main.coffee
consumeConsolePanel: (@consolePanel) ->
log: (message) ->
@consolePanel.log(message)
When consuming console panel you'll get an instance of ConsoleManager
which has the following methods:
Toggles the console panel.
Logs a message. message
can be a String
or a custom View
that will be appended.
Logs an error.
Logs a warning.
Logs a notice.
Logs an debug message.
Logs a raw message. rawText
will be split by lineEnding
and each line will be added separately as level
.
Clears the whole console.
Stick to the bottom of the console panel (default).
Stick to the top of the console panel.
- Write specs
- Add level filtering
- Show timestamp
- "Go to latest" button