Created
November 13, 2018 01:59
-
-
Save cmakh/64f4ae7d5308b0b4c95a1deb19030ca2 to your computer and use it in GitHub Desktop.
Hitch Logs Async
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Hitch = require('../src'); | |
const host = require('./host.js'); | |
const Logger = new Hitch.Logger(host); | |
async function test() { | |
console = await Logger.connectAsync(console); | |
console.log('This is a test'); | |
} | |
test(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment