-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.js
45 lines (34 loc) · 938 Bytes
/
index.js
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/**
* Created with JetBrains WebStorm.
* User: ssdosso , [email protected]
* Date: 13. 07. 15
* 1
* Time: 오후 4:50
112
*/
require('./server/lib/Garam').getInstance()
.create({
config: [
{short:"a",long:"testMode",description:"개발자 테스트", value:true,parser:function (value) {
if (value == 'true') {
return true;
} else {
return false;
}
}},
{short:"t",long:"configname",description:"server namespace", value:true},
{short:"l",long:"ispacket",description:"send 하는 패킷 노출 여부", value:false}
]
});
// process.on('uncaughtException', function (err) {
//
// try {
// Garam.logger().error('App Caught Exception Stack', {errStack:err.stack});
// } catch (e) {
// console.error(err.stack);
// }
//
//
//
//
// });