diff options
| author | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2016-12-29 20:07:05 +0900 |
|---|---|---|
| committer | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2016-12-29 20:08:05 +0900 |
| commit | bb5793732757767066d0e8aa7c800f7bbeb6b8d0 (patch) | |
| tree | 7aab59edf4df7a42825076ff2c2a95fd841ea0a9 /src | |
| parent | :sparkles: (diff) | |
| download | sharkey-bb5793732757767066d0e8aa7c800f7bbeb6b8d0.tar.gz sharkey-bb5793732757767066d0e8aa7c800f7bbeb6b8d0.tar.bz2 sharkey-bb5793732757767066d0e8aa7c800f7bbeb6b8d0.zip | |
:sparkles:
Diffstat (limited to 'src')
| -rw-r--r-- | src/index.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/index.ts b/src/index.ts index 0bb6157176..51d64ef889 100644 --- a/src/index.ts +++ b/src/index.ts @@ -160,9 +160,9 @@ async function init(): Promise<State> { // Get machine info const totalmem = (os.totalmem() / 1024 / 1024 / 1024).toFixed(1); const freemem = (os.freemem() / 1024 / 1024 / 1024).toFixed(1); - log('Info', `MACHINE: ${os.hostname()}`); - log('Info', `MACHINE: CPU: ${os.cpus().length}core`); - log('Info', `MACHINE: MEM: ${totalmem}GB (available: ${freemem}GB)`); + log('Info', `${os.hostname()}`, 'Machine'); + log('Info', `CPU: ${os.cpus().length}core`, 'Machine'); + log('Info', `MEM: ${totalmem}GB (available: ${freemem}GB)`, 'Machine'); if (!fs.existsSync(`${__dirname}/../.config/config.yml`)) { log('Error', 'Configuration not found'); |