Code: https://github.com/vizstack/vz-logger
Python client:
from vzlogger import connect, get_logger
with connect('http://localhost:4000'):
logger = get_logger('main')
logger.info('Hello, world!')
logger.debug('Hello, world!')
logger.warning('Hello, world!')
logger.error('Hello, world!')
TypeScript client:
import { connect, getLogger } from 'vz-logger';
connect('http://localhost:4000');
const logger = getLogger('main')
logger.info('Hello, world!')
logger.debug('Hello, world!')
logger.warning('Hello, world!')
logger.error('Hello, world!')
disconnect();
Interactive Demo: https://vizstack.github.io/vizstack/docs