/* * This file is part of the EasyLogger Library. * * Copyright (c) 2015, Armink, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Function: Portable interface for each platform. * Created on: 2015-04-28 */ #include "elog.h" /** * EasyLogger port initialize * * @return result */ ElogErrCode elog_port_init(void) { ElogErrCode result = ELOG_NO_ERR; //add your code here return result; } /** * output log port interface */ void elog_port_output(const char *output, size_t size) { //add your code here } /** * output lock */ void elog_port_output_lock(void) { //add your code here } /** * output unlock */ void elog_port_output_unlock(void) { //add your code here } /** * get current time interface * * @return current time */ const char *elog_port_get_time(void) { //add your code here } /** * get current process name interface * * @return current process name */ const char *elog_port_get_p_info(void) { //add your code here } /** * get current thread name interface * * @return current thread name */ const char *elog_port_get_t_info(void) { //add your code here }