mirror of
https://gitee.com/jiuyilian/embedded-framework.git
synced 2025-01-06 10:16:51 -05:00
add some annotate
This commit is contained in:
parent
2477158095
commit
dc4996eeea
|
@ -65,7 +65,6 @@ extern "C"
|
|||
#define LOGE(...)
|
||||
#define LOGF(...)
|
||||
#endif
|
||||
typedef struct i_log ILog;
|
||||
typedef struct i_log
|
||||
{
|
||||
void (*init)(ILog *, const enum LogInstance);
|
||||
|
|
|
@ -16,6 +16,11 @@
|
|||
#define ILOGCPP_H
|
||||
#include "ILog.h"
|
||||
#include <memory>
|
||||
/**
|
||||
* @brief Abstract interface class
|
||||
* If you want to add additional functions, you can derive a class from it to
|
||||
* meet the product requirements.
|
||||
*/
|
||||
class ILogCpp
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -12,6 +12,11 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Create a log instance
|
||||
*
|
||||
*/
|
||||
#ifndef ILOG_MAKE_PTR_H
|
||||
#define ILOG_MAKE_PTR_H
|
||||
#include "ILogCpp.h"
|
||||
|
|
|
@ -22,4 +22,4 @@
|
|||
ENABLED = false
|
||||
FILENAME = "/tmp/logs/myeasylog-configuration.cpp-error.log"
|
||||
* FATAL:
|
||||
ENABLED = false
|
||||
ENABLED = false
|
Loading…
Reference in New Issue
Block a user