public NetBare attachApplication(@NonNull Application application, boolean debug) {
        mApp = application;
        NetBareLog.setDebug(debug);
        return this;
    }
Attach an application instance to NetBare. We recommend you to call this method in your
{@link Application} class.

@param application The application instance.
@param debug Should print logs in console.
@return The single instance of NetBare.
netbare-core/src/main/java/com/github/megatronking/netbare/NetBare.java