av-merge: Use console.warn and console.error
Signed-off-by: Jesús <heckyel@hyperbola.info>
This commit is contained in:
parent
dd01c8ca4c
commit
56b17c634c
@ -411,10 +411,10 @@ function addEvent(obj, eventName, func) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function reportWarning(...args){
|
function reportWarning(...args){
|
||||||
console.log(...args);
|
console.warn(...args);
|
||||||
}
|
}
|
||||||
function reportError(...args){
|
function reportError(...args){
|
||||||
console.log(...args);
|
console.error(...args);
|
||||||
}
|
}
|
||||||
function reportDebug(...args){
|
function reportDebug(...args){
|
||||||
console.log(...args);
|
console.log(...args);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user