LIB: Update secure partitions with new logging API

Change-Id: Ic4651000ac3c22f54f329d0e0aebb41ffb839b34
Signed-off-by: Jackson Cooper-Driver <jackson.cooper-driver@arm.com>
diff --git a/examples/example_partition/tfm_example_partition.c b/examples/example_partition/tfm_example_partition.c
index 1539d81..e57b839 100644
--- a/examples/example_partition/tfm_example_partition.c
+++ b/examples/example_partition/tfm_example_partition.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2020-2022, Arm Limited. All rights reserved.
+ * SPDX-FileCopyrightText: Copyright The TrustedFirmware-M Contributors
  *
  * SPDX-License-Identifier: BSD-3-Clause
  *
@@ -9,7 +9,7 @@
 
 #include "psa/service.h"
 #include "psa_manifest/tfm_example_partition.h"
-#include "tfm_sp_log.h"
+#include "tfm_log_unpriv.h"
 
 /**
  * \brief An example service implementation that prints out an argument from the
@@ -38,7 +38,7 @@
 
         /* Print arg from client */
         psa_read(msg->handle, 0, &arg, sizeof(arg));
-        LOG_INFFMT("[Example partition] Service called! arg=%p\r\n", arg);
+        INFO_UNPRIV_RAW("[Example partition] Service called! arg=%x\n", arg);
 
         status = PSA_SUCCESS;
         break;
@@ -56,7 +56,7 @@
  */
 psa_status_t tfm_example_partition_main(void)
 {
-    LOG_INFFMT("Example Partition initializing\r\n");
+    INFO_UNPRIV_RAW("Example Partition initializing\n");
 
     return PSA_SUCCESS;
 }