Name: console-panel
Owner: Particle
Description: Read only log console panel package for Atom
Created: 2015-10-09 17:46:39.0
Updated: 2017-09-21 14:06:09.0
Pushed: 2018-01-03 18:21:01.0
Homepage: null
Size: 69
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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
sumedServices": {
onsole-panel": {
"versions": {
"^1.0.0": "consumeConsolePanel"
}
main.coffee
umeConsolePanel: (@consolePanel) ->
(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.