log: Filter for plugin identifier
This commit is contained in:
parent
befa5b0529
commit
d53e9a7b76
|
@ -52,7 +52,9 @@ $(function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
self.onDataUpdaterPluginMessage = function(plugin, message) {
|
self.onDataUpdaterPluginMessage = function(plugin, message) {
|
||||||
self.logMessage(message["time"], message["type"], message["message"]);
|
if(plugin == "klipper") {
|
||||||
|
self.logMessage(message["time"], message["type"], message["message"]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
self.logMessage = function(timestamp, type, message) {
|
self.logMessage = function(timestamp, type, message) {
|
||||||
|
|
Loading…
Reference in New Issue