Adding startup message to logging remote server

This commit is contained in:
Fabian Stamm 2018-11-06 21:37:12 +01:00
parent ed46cf4963
commit aa381965b7

View File

@ -3,7 +3,8 @@ import config from "./config";
import NLS from "@hibas123/nodeloggingserver_client";
if (config.logging) {
NLS(Logging, config.logging.server, config.logging.appid, config.logging.token);
let s = NLS(Logging, config.logging.server, config.logging.appid, config.logging.token);
s.send(`[${new Date().toLocaleTimeString()}] Starting application`);
}
// if (!config.database) {