1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

feat: ipc event channel to send logs to renderer

This commit is contained in:
2022-07-15 09:53:48 +02:00
parent abf829867e
commit f12a04b052
7 changed files with 17 additions and 5 deletions

View File

@ -1536,7 +1536,7 @@ export class MySQLClient extends AntaresCore {
}
async raw<T = antares.QueryResult> (sql: string, args?: antares.QueryParams) {
if (process.env.NODE_ENV === 'development') this._logger(sql);
if (process.env.NODE_ENV === 'development') this._logger({ cUid: this._cUid, sql });
args = {
nest: false,