qzind / qz-print

Archive for legacy qz-print versions (1.8, 1.9). See https://github.com/qzind/tray for modern versions.
Other
141 stars 101 forks source link

Better control over log verbosity #119

Closed tresf closed 8 years ago

tresf commented 8 years ago

Closes #111

Usage:

// Completely silent.
deployQZ(null, false);

// Default verbosity
deployQZ();

\ Note: The first parameter for deployQZ is the host to bind the websocket to, which defaults to 'localhost'. This is a relatively new feature available in version 1.9.5 and higher. The value of null or 'localhost' has the exact same effect when provided as the first parameter.