diff --git a/ZBWStateMachine.podspec b/ZBWStateMachine.podspec index 613b37a..e1e48fe 100644 --- a/ZBWStateMachine.podspec +++ b/ZBWStateMachine.podspec @@ -16,7 +16,7 @@ Pod::Spec.new do |s| # s.name = "ZBWStateMachine" - s.version = "0.0.10" + s.version = "0.0.11" s.summary = "状态机." # This description is used to generate tags and improve search results. diff --git a/ZBWStateMachine/ZBWStateMachine.h b/ZBWStateMachine/ZBWStateMachine.h index ff8b8be..ecf9563 100644 --- a/ZBWStateMachine/ZBWStateMachine.h +++ b/ZBWStateMachine/ZBWStateMachine.h @@ -28,7 +28,7 @@ /** 日志开关 - @param isOpen 【YES】打开 【NO】关闭;默认YES + @param isOpen 【YES】打开 【NO】关闭;默认NO */ + (void)openLog:(BOOL)isOpen; diff --git a/ZBWStateMachine/ZBWStateMachine.m b/ZBWStateMachine/ZBWStateMachine.m index fd81390..590354c 100644 --- a/ZBWStateMachine/ZBWStateMachine.m +++ b/ZBWStateMachine/ZBWStateMachine.m @@ -25,7 +25,7 @@ #define ZBWSM_Log(formatStr, ...) #endif -static BOOL s_ZBWStateMachine_isOpenLog = YES; +static BOOL s_ZBWStateMachine_isOpenLog = NO; @interface ZBWStateMachine ()