File tree Expand file tree Collapse file tree 1 file changed +91
-0
lines changed Expand file tree Collapse file tree 1 file changed +91
-0
lines changed Original file line number Diff line number Diff line change 63
63
"$runtimeDeleteComponent" : " event" ,
64
64
"$runtimeUpdateComponent" : " event" ,
65
65
"send" : " event"
66
+ },
67
+ "1268f1dddd1fea7" : {
68
+ "_name" : " _Logger" ,
69
+ "_core" : true ,
70
+ "level" : " property" ,
71
+ "debug" : " method" ,
72
+ "info" : " method" ,
73
+ "warn" : " method" ,
74
+ "error" : " method" ,
75
+ "_id" : " 1268f1dddd1fea7"
66
76
}
67
77
},
68
78
"models" : {
481
491
}
482
492
]
483
493
}
494
+ },
495
+ "16b9d1ac2216ffe" : {
496
+ "_id" : " 16b9d1ac2216ffe" ,
497
+ "_name" : " _Logger" ,
498
+ "_core" : true ,
499
+ "level" : {
500
+ "type" : " log" ,
501
+ "readOnly" : false ,
502
+ "mandatory" : false ,
503
+ "default" : " warn"
504
+ },
505
+ "debug" : {
506
+ "params" : [
507
+ {
508
+ "name" : " message" ,
509
+ "type" : " any"
510
+ }
511
+ ]
512
+ },
513
+ "info" : {
514
+ "params" : [
515
+ {
516
+ "name" : " message" ,
517
+ "type" : " any"
518
+ }
519
+ ]
520
+ },
521
+ "warn" : {
522
+ "params" : [
523
+ {
524
+ "name" : " message" ,
525
+ "type" : " any"
526
+ }
527
+ ]
528
+ },
529
+ "error" : {
530
+ "params" : [
531
+ {
532
+ "name" : " message" ,
533
+ "type" : " any"
534
+ }
535
+ ]
536
+ }
484
537
}
485
538
},
486
539
"behaviors" : {
707
760
"action" : " function init(conf) { \n // for jquery compatibility in electron\n if (typeof global !== 'undefined' && typeof window !== 'undefined') {\n delete module;\n }\t\n }" ,
708
761
"useCoreAPI" : false ,
709
762
"core" : true
763
+ },
764
+ "i139a61d4aa1bea7" : {
765
+ "_id" : " i139a61d4aa1bea7" ,
766
+ "component" : " logger" ,
767
+ "state" : " info" ,
768
+ "action" : " function info(message) { \n if (this.level() === 'info' || this.level() === 'debug') {\n this.require('channel').$appLogInfo('[info] ' + message);\n }\t\n }" ,
769
+ "useCoreAPI" : false ,
770
+ "core" : true
771
+ },
772
+ "r1c1841a98e1bc15" : {
773
+ "_id" : " r1c1841a98e1bc15" ,
774
+ "component" : " logger" ,
775
+ "state" : " debug" ,
776
+ "action" : " function debug(message) { \n if (this.level() === 'debug') {\n this.require('channel').$appLogDebug('[debug] ' + message);\n }\t\n }" ,
777
+ "useCoreAPI" : false ,
778
+ "core" : true
779
+ },
780
+ "m1d30414ed912a2a" : {
781
+ "_id" : " m1d30414ed912a2a" ,
782
+ "component" : " logger" ,
783
+ "state" : " error" ,
784
+ "action" : " function error(message) { \n this.require('channel').$appLogError('[error] ' + message);\n }" ,
785
+ "useCoreAPI" : false ,
786
+ "core" : true
787
+ },
788
+ "d1d19f1ae9a12118" : {
789
+ "_id" : " d1d19f1ae9a12118" ,
790
+ "component" : " logger" ,
791
+ "state" : " warn" ,
792
+ "action" : " function warn(message) { \n if (this.level() === 'info' || this.level() === 'warn' || this.level() === 'debug') {\n this.require('channel').$appLogWarn('[warn] ' + message);\n }\n }" ,
793
+ "useCoreAPI" : false ,
794
+ "core" : true
710
795
}
711
796
},
712
797
"types" : {},
727
812
"db" : {
728
813
"_id" : " db"
729
814
}
815
+ },
816
+ "_Logger" : {
817
+ "logger" : {
818
+ "_id" : " logger" ,
819
+ "level" : " warn"
820
+ }
730
821
}
731
822
},
732
823
"_id" : " 18ed81de331252c"
You can’t perform that action at this time.
0 commit comments