@@ -5,10 +5,8 @@ import (
5
5
"crypto/tls"
6
6
"database/sql"
7
7
"go/constant"
8
- "log/syslog"
9
8
"net/http"
10
9
"net/rpc"
11
- "os"
12
10
"strconv"
13
11
"time"
14
12
)
@@ -165,9 +163,7 @@ var TimeLayout = map[string]string{
165
163
time .StampNano : "time.StampNano" ,
166
164
}
167
165
168
- var OSDevNull = map [string ]string {
169
- os .DevNull : "os.DevNull" ,
170
- }
166
+ var OSDevNull = map [string ]string {}
171
167
172
168
var SQLIsolationLevel = map [string ]string {
173
169
// sql.LevelDefault.String(): "sql.LevelDefault.String()",
@@ -204,34 +200,4 @@ var ConstantKind = map[string]string{
204
200
constant .Complex .String (): "constant.Complex.String()" ,
205
201
}
206
202
207
- var SyslogPriority = map [string ]string {
208
- // strconv.Itoa(int(syslog.LOG_EMERG)): "syslog.LOG_EMERG",
209
- strconv .Itoa (int (syslog .LOG_ALERT )): "syslog.LOG_ALERT" ,
210
- strconv .Itoa (int (syslog .LOG_CRIT )): "syslog.LOG_CRIT" ,
211
- strconv .Itoa (int (syslog .LOG_ERR )): "syslog.LOG_ERR" ,
212
- strconv .Itoa (int (syslog .LOG_WARNING )): "syslog.LOG_WARNING" ,
213
- strconv .Itoa (int (syslog .LOG_NOTICE )): "syslog.LOG_NOTICE" ,
214
- strconv .Itoa (int (syslog .LOG_INFO )): "syslog.LOG_INFO" ,
215
- strconv .Itoa (int (syslog .LOG_DEBUG )): "syslog.LOG_DEBUG" ,
216
-
217
- // strconv.Itoa(int(syslog.LOG_KERN)): "syslog.LOG_KERN",
218
- strconv .Itoa (int (syslog .LOG_USER )): "syslog.LOG_USER" ,
219
- strconv .Itoa (int (syslog .LOG_MAIL )): "syslog.LOG_MAIL" ,
220
- strconv .Itoa (int (syslog .LOG_DAEMON )): "syslog.LOG_DAEMON" ,
221
- strconv .Itoa (int (syslog .LOG_AUTH )): "syslog.LOG_AUTH" ,
222
- strconv .Itoa (int (syslog .LOG_SYSLOG )): "syslog.LOG_SYSLOG" ,
223
- strconv .Itoa (int (syslog .LOG_LPR )): "syslog.LOG_LPR" ,
224
- strconv .Itoa (int (syslog .LOG_NEWS )): "syslog.LOG_NEWS" ,
225
- strconv .Itoa (int (syslog .LOG_UUCP )): "syslog.LOG_UUCP" ,
226
- strconv .Itoa (int (syslog .LOG_CRON )): "syslog.LOG_CRON" ,
227
- strconv .Itoa (int (syslog .LOG_AUTHPRIV )): "syslog.LOG_AUTHPRIV" ,
228
- strconv .Itoa (int (syslog .LOG_FTP )): "syslog.LOG_FTP" ,
229
- strconv .Itoa (int (syslog .LOG_LOCAL0 )): "syslog.LOG_LOCAL0" ,
230
- strconv .Itoa (int (syslog .LOG_LOCAL1 )): "syslog.LOG_LOCAL1" ,
231
- strconv .Itoa (int (syslog .LOG_LOCAL2 )): "syslog.LOG_LOCAL2" ,
232
- strconv .Itoa (int (syslog .LOG_LOCAL3 )): "syslog.LOG_LOCAL3" ,
233
- strconv .Itoa (int (syslog .LOG_LOCAL4 )): "syslog.LOG_LOCAL4" ,
234
- strconv .Itoa (int (syslog .LOG_LOCAL5 )): "syslog.LOG_LOCAL5" ,
235
- strconv .Itoa (int (syslog .LOG_LOCAL6 )): "syslog.LOG_LOCAL6" ,
236
- strconv .Itoa (int (syslog .LOG_LOCAL7 )): "syslog.LOG_LOCAL7" ,
237
- }
203
+ var SyslogPriority = map [string ]string {}
0 commit comments