1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
pragma Strict
import QtQml
LoggingCategory {
id: self
name: "foobar"
Component.onCompleted: {
console.debug("b", 4.55);
console.log("b", 4.55);
console.info("b", 4.55);
console.warn("b", 4.55);
console.error("b", 4.55);
console.debug(self, "b", 4.55);
console.log(self, "b", 4.55);
console.info(self, "b", 4.55);
console.warn(self, "b", 4.55);
console.error(self, "b", 4.55);
console.debug(Component, "b", 4.55);
console.log(Component, "b", 4.55);
console.info(Component, "b", 4.55);
console.warn(Component, "b", 4.55);
console.error(Component, "b", 4.55);
console.log("a", undefined, "b", false, null, 7);
console.log();
console.log(4)
console.log(self);
console.log(Component);
}
}
|