Skip to content

Commit

Permalink
loggingを使用しないように変更
Browse files Browse the repository at this point in the history
  • Loading branch information
jiro4989 committed Dec 7, 2019
1 parent 4d0ec8c commit fc38101
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion shellgei_web_server/src/shellgei_web_server.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import asyncdispatch, os, osproc, strutils, json, random, logging, base64
import asyncdispatch, os, osproc, strutils, json, random, base64
from strformat import `&`

import jester, uuids
Expand All @@ -7,6 +7,13 @@ type
RespShellgeiJSON* = object
code*: string

proc info(msgs: varargs[string, `$`]) =
## **Note:** マルチスレッドだとloggingモジュールがうまく機能しないので仮で実装
var s: string
for msg in msgs:
s.add(msg)
echo "INFO " & s

router myrouter:
post "/shellgei":
# TODO:
Expand Down

0 comments on commit fc38101

Please sign in to comment.