1
0
Fork 0
mirror of https://github.com/icewind1991/clipboard-sync synced 2026-06-03 18:34:07 +02:00

add env_logger

This commit is contained in:
Robin Appelman 2018-07-30 22:29:06 +02:00
commit ca1c2d0d88
3 changed files with 165 additions and 0 deletions

View file

@ -4,6 +4,7 @@ extern crate serde;
extern crate serde_derive;
extern crate serde_json;
extern crate ws;
extern crate env_logger;
use clipboard::{ClipboardContext, ClipboardProvider};
use common::ClipboardCommand;
@ -25,6 +26,7 @@ fn handle_command(command: ClipboardCommand, ctx: &mut ClipboardContext) {
fn main() {
env_logger::init();
let args: Vec<_> = env::args().collect();
if args.len() != 3 {