InChI
 
Loading...
Searching...
No Matches
logging.h
Go to the documentation of this file.
1/*
2 * SPDX-License-Identifier: MIT
3 * Copyright (c) 2024 IUPAC and InChI Trust
4 */
5
6
7#ifndef LOGGING_H
8#define LOGGING_H
9
10#define LOGGING_ENABLED 0 /*(@nnuk : Nauman Ullah Khan) :: Change to zero (0) if print outputs not needed otherwise keep it one (1)*/
11
12#if LOGGING_ENABLED
13#define LOG_NO_ARGS(message) printf("%s\n", message)
14#define LOG_MULT_ARGS(format, ...) printf(format, __VA_ARGS__)
15#else
16#define LOG_NO_ARGS(message)
17#define LOG_MULT_ARGS(format, ...)
18#endif
19
20#endif /* LOGGING_H */