diff options
| author | Adam Soltys <[email protected]> | 2022-09-02 15:06:43 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-09-02 15:06:43 -0700 |
| commit | d1cc66d1a02b75f90fbf0c05910777c76228259a (patch) | |
| tree | 7b93dc6a2fc0ec9d03676d6b4093fedf9733f128 /lib/logging.js | |
| parent | 3161dd7ee95b6c7d70f8341298dd4fab84cda8b0 (diff) | |
| download | coinos-server-d1cc66d1a02b75f90fbf0c05910777c76228259a.tar.gz coinos-server-d1cc66d1a02b75f90fbf0c05910777c76228259a.zip | |
es6 migration
Diffstat (limited to 'lib/logging.js')
| -rw-r--r-- | lib/logging.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/logging.js b/lib/logging.js index 95e48514..5ad3a0b0 100644 --- a/lib/logging.js +++ b/lib/logging.js @@ -1,5 +1,5 @@ import pino from "pino"; - export const l = (...msgs) => pino().info(msgs.join(" ")) - export const warn = (...msgs) => pino().warn(msgs.join(" ")) - export const err = (...msgs) => pino().error(msgs.join(" ")) +export const l = (...msgs) => pino().info(msgs.join(" ")); +export const warn = (...msgs) => pino().warn(msgs.join(" ")); +export const err = (...msgs) => pino().error(msgs.join(" ")); |
