Skip to content

Commit bd0379f

Browse files
committed
Set log level of many messages to 'debug' (fix #10)
1 parent 065d21e commit bd0379f

File tree

8 files changed

+41
-41
lines changed

8 files changed

+41
-41
lines changed

bower.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "system-runtime",
3-
"version": "1.8.5",
4-
"description": "A System Bundle Runtime",
3+
"version": "1.8.6",
4+
"description": "A JavaScript library that runs systems",
55
"license": "Apache-2.0",
66
"homepage": "https://system-runtime.github.io",
77
"author": {

build/system/system.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1740,7 +1740,7 @@ var system = {
17401740
"_id": "15643114f31bf40",
17411741
"component": "RuntimeSystemOSGi",
17421742
"state": "state",
1743-
"action": "function state(value) { \n if (this.require('logger')) {\n\t this.require('logger').info('the state of the system \\'' + this.name() + '\\' is now \\'' + value + '\\'');\n }\t\n}",
1743+
"action": "function state(value) { \n if (this.require('logger')) {\n\t this.require('logger').debug('the state of the system \\'' + this.name() + '\\' is now \\'' + value + '\\'');\n }\t\n}",
17441744
"useCoreAPI": false,
17451745
"core": true
17461746
},
@@ -1786,7 +1786,7 @@ var system = {
17861786
"Runtime": {
17871787
"runtime": {
17881788
"_id": "runtime",
1789-
"version": "1.8.5"
1789+
"version": "1.8.6"
17901790
}
17911791
},
17921792
"RuntimeDatabase": {
@@ -1812,8 +1812,8 @@ var system = {
18121812
}
18131813
},
18141814
"name": "system-runtime",
1815-
"version": "1.8.5",
1816-
"description": "Runtime",
1815+
"version": "1.8.6",
1816+
"description": "System Runtime",
18171817
"_id": "e89c617b6b15d24",
18181818
"master": false,
18191819
"subsystem": false

build/sytem-runtime.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1874,7 +1874,7 @@
18741874
"_id": "15643114f31bf40",
18751875
"component": "RuntimeSystemOSGi",
18761876
"state": "state",
1877-
"action": "function state(value) { \n if (this.require('logger')) {\n\t this.require('logger').info('the state of the system \\'' + this.name() + '\\' is now \\'' + value + '\\'');\n }\t\n}",
1877+
"action": "function state(value) { \n if (this.require('logger')) {\n\t this.require('logger').debug('the state of the system \\'' + this.name() + '\\' is now \\'' + value + '\\'');\n }\t\n}",
18781878
"useCoreAPI": false,
18791879
"core": true
18801880
},
@@ -1920,7 +1920,7 @@
19201920
"Runtime": {
19211921
"runtime": {
19221922
"_id": "runtime",
1923-
"version": "1.8.5"
1923+
"version": "1.8.6"
19241924
}
19251925
},
19261926
"RuntimeDatabase": {
@@ -1946,8 +1946,8 @@
19461946
}
19471947
},
19481948
"name": "system-runtime",
1949-
"version": "1.8.5",
1950-
"description": "Runtime",
1949+
"version": "1.8.6",
1950+
"description": "System Runtime",
19511951
"_id": "e89c617b6b15d24",
19521952
"master": false,
19531953
"subsystem": false

dist/system-runtime.js

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/system-runtime.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "system-runtime",
3-
"version": "1.8.5",
3+
"version": "1.8.6",
44
"description": "A JavaScript library that runs systems",
55
"homepage": "https://system-runtime.github.io",
66
"keywords": [

src/log.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ function unknownType(value) {
490490
* @param {String} className name of the class
491491
*/
492492
function canNotYetValidate(id, className) {
493-
getLogger().info("can not yet validate if the component '" + id + "' is an instance of '" + className + "'");
493+
getLogger().debug("can not yet validate if the component '" + id + "' is an instance of '" + className + "'");
494494
}
495495

496496

@@ -653,7 +653,7 @@ function invalidEnumType(value, typeName, type) {
653653
* @param {String} name name of the schema
654654
*/
655655
function loadSchema(name) {
656-
getLogger().info("load schema '" + name + "'");
656+
getLogger().debug("load schema '" + name + "'");
657657
}
658658

659659

@@ -663,7 +663,7 @@ function loadSchema(name) {
663663
* @param {String} name name of the model
664664
*/
665665
function loadModel(name) {
666-
getLogger().info("load model '" + name + "'");
666+
getLogger().debug("load model '" + name + "'");
667667
}
668668

669669

@@ -673,7 +673,7 @@ function loadModel(name) {
673673
* @param {String} name name of the type
674674
*/
675675
function loadType(name) {
676-
getLogger().info("load type '" + name + "'");
676+
getLogger().debug("load type '" + name + "'");
677677
}
678678

679679

@@ -683,7 +683,7 @@ function loadType(name) {
683683
* @param {String} name name of the schema
684684
*/
685685
function compileSchema(name) {
686-
getLogger().info("compile schema '" + name + "'...");
686+
getLogger().debug("compile schema '" + name + "'...");
687687
}
688688

689689

@@ -693,7 +693,7 @@ function compileSchema(name) {
693693
* @param {String} name name of the model
694694
*/
695695
function generateModel(name) {
696-
getLogger().info("generate model '" + name + "'...");
696+
getLogger().debug("generate model '" + name + "'...");
697697
}
698698

699699

@@ -703,7 +703,7 @@ function generateModel(name) {
703703
* @param {String} name name of the model
704704
*/
705705
function checkModel(name) {
706-
getLogger().info("analyze model '" + name + "'...");
706+
getLogger().debug("analyze model '" + name + "'...");
707707
}
708708

709709

@@ -713,7 +713,7 @@ function checkModel(name) {
713713
* @param {String} name name of the collection
714714
*/
715715
function createCollection(name) {
716-
getLogger().info("create collection '" + name + "'");
716+
getLogger().debug("create collection '" + name + "'");
717717
}
718718

719719
/*
@@ -722,7 +722,7 @@ function createCollection(name) {
722722
* @param {String} name name of the class
723723
*/
724724
function createClass(name) {
725-
getLogger().info("create class '" + name + "'");
725+
getLogger().debug("create class '" + name + "'");
726726
}
727727

728728

@@ -731,7 +731,7 @@ function createClass(name) {
731731
* @method modelCreationBegin
732732
*/
733733
function modelCreationBegin() {
734-
getLogger().info("starting model creation...");
734+
getLogger().debug("starting model creation...");
735735
}
736736

737737

@@ -740,7 +740,7 @@ function modelCreationBegin() {
740740
* @method modelCreationEnd
741741
*/
742742
function modelCreationEnd() {
743-
getLogger().info("model creation ended");
743+
getLogger().debug("model creation ended");
744744
}
745745

746746

src/system/system-runtime.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)