fix(log): display render log in main log

This commit is contained in:
Alexey Kasyanchuk
2018-08-25 15:47:11 +03:00
parent 349eedee0a
commit 1acc6fafb4
5 changed files with 35 additions and 5 deletions

View File

@ -48,6 +48,13 @@ module.exports = function (send, recive, dataDirectory, version, env)
{
this.initialized = (async () =>
{
recive('log', (...log) => {
logT('gui', ...log)
})
recive('logE', (...log) => {
logTE('gui', ...log)
})
let torrentsId = 1;
let filesId = 1;