diff --git a/shellgei_web_server/src/shellgei_web_server.nim b/shellgei_web_server/src/shellgei_web_server.nim index 77876c7..17b7523 100644 --- a/shellgei_web_server/src/shellgei_web_server.nim +++ b/shellgei_web_server/src/shellgei_web_server.nim @@ -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 @@ -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: