S2OPC OPCUA Toolkit
Loading...
Searching...
No Matches
sopc_circular_log_file.h
Go to the documentation of this file.
1/*
2 * Licensed to Systerel under one or more contributor license
3 * agreements. See the NOTICE file distributed with this work
4 * for additional information regarding copyright ownership.
5 * Systerel licenses this file to you under the Apache
6 * License, Version 2.0 (the "License"); you may not use this
7 * file except in compliance with the License. You may obtain
8 * a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19
26#ifndef SOPC_CIRCULAR_LOG_FILE_H_
27#define SOPC_CIRCULAR_LOG_FILE_H_
28
29#include <stdarg.h>
30#include <stdbool.h>
31#include <stdint.h>
32
34
45
52
60
69
75
76#endif /* SOPC_CIRCULAR_LOG_FILE_H_ */
struct SOPC_CircularLogFile_Configuration SOPC_CircularLogFile_Configuration
structure containing the file system log configuration
SOPC_CircularLogFile * SOPC_CircularLogFile_Create(const SOPC_CircularLogFile_Configuration *config)
char * SOPC_CircularLogFile_GetFileName(const SOPC_CircularLogFile *pFile)
Get the name of the current log file.
struct SOPC_CircularLogFile SOPC_CircularLogFile
Definition sopc_circular_log_file.h:33
void SOPC_CircularLogFile_Delete(SOPC_CircularLogFile **ppFile)
void SOPC_CircularLogFile_PutLine(SOPC_CircularLogFile *pFile, const char *line)
structure containing the file system log configuration
Definition sopc_circular_log_file.h:39
uint32_t logMaxBytes
Definition sopc_circular_log_file.h:42
uint16_t logMaxFiles
Definition sopc_circular_log_file.h:43
const char * logDirPath
Definition sopc_circular_log_file.h:40
const char * logFileName
Definition sopc_circular_log_file.h:41