package com.icod.yk_printer_test;

import android.app.Application;

import com.icod.yk_printer_test.utils.UIUtils;
import com.szsicod.print.escpos.PrinterAPI;
import com.szsicod.print.log.AndroidLogCatStrategy;
import com.szsicod.print.log.Logger;
import com.szsicod.print.log.Utils;

/**
 * Created by crf on 2018/4/24.
 */

public class App extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        UIUtils.init(this);
        Utils.init(this);
        PrinterAPI.getInstance().setOutput(true);
       Logger.addLogStrategy(new AndroidLogCatStrategy());
    }

}
