catj 0.2.3

A light process isolation sandbox used for competitive programming contest
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::sync::Once;

use flexi_logger::Logger;

static INIT: Once = Once::new();

pub fn setup() {
  INIT.call_once(|| {
    Logger::try_with_str("catj=debug,info")
      .unwrap()
      .start()
      .unwrap();
  });
}