feat: add logging infra w/ backend support

Add functions to support logging. This enables a user specifying their
own logging format for all functions. TF-A's logging format is supported
out of the box by specifying the `DEBUG_BACKEND_HEADER` as
`log_backed_tf.h`.

Implement digest helpers that avoid heap/libc as some end projects don't
have access to this.

Change-Id: I55410ab963ea4d0c1956ba41f94b67eced8621d5
Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
diff --git a/include/log_backend_printf.h b/include/log_backend_printf.h
new file mode 100644
index 0000000..1c7d581
--- /dev/null
+++ b/include/log_backend_printf.h
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2025, Arm Limited and Contributors. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef LOG_BACKEND_PRINTF_H
+#define LOG_BACKEND_PRINTF_H
+
+#include <stdio.h>
+
+#define evlog_log printf
+
+#define EVLOG_MARKER_ERROR "[ERROR] "
+#define EVLOG_MARKER_NOTICE "[NOTICE] "
+#define EVLOG_MARKER_WARNING "[WARNING] "
+#define EVLOG_MARKER_INFO "[INFO] "
+#define EVLOG_MARKER_VERBOSE "[VERBOSE] "
+
+#endif /* LOG_BACKEND_PRINTF_H */