summaryrefslogtreecommitdiff
path: root/include/libcamera/logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/logging.h')
-rw-r--r--include/libcamera/logging.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/libcamera/logging.h b/include/libcamera/logging.h
new file mode 100644
index 00000000..a8495cf6
--- /dev/null
+++ b/include/libcamera/logging.h
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+/*
+ * Copyright (C) 2019, Google Inc.
+ *
+ * logging.h - Logging infrastructure
+ */
+#ifndef __LIBCAMERA_LOGGING_H__
+#define __LIBCAMERA_LOGGING_H__
+
+namespace libcamera {
+
+void logSetFile(const char *file);
+int logSetLevel(const char *category, const char *level);
+
+} /* namespace libcamera */
+
+#endif /* __LIBCAMERA_LOGGING_H__ */