1 // Copyright 2024 The Pigweed Authors
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 // use this file except in compliance with the License. You may obtain a copy of
5 // the License at
6 //
7 // https://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 // License for the specific language governing permissions and limitations under
13 // the License.
14 #include <stdarg.h>
15
16 #include "pw_log_basic/log_basic.h"
17 #include "pw_log_string/handler.h"
18
pw_log_string_HandleMessageVaList(int level,unsigned int flags,const char * module_name,const char * file_name,int line_number,const char * message,va_list args)19 void pw_log_string_HandleMessageVaList(int level,
20 unsigned int flags,
21 const char* module_name,
22 const char* file_name,
23 int line_number,
24 const char* message,
25 va_list args) {
26 pw_Log_HandleMessageVaList(level,
27 flags,
28 module_name,
29 file_name,
30 line_number,
31 "" /* function_name*/,
32 message,
33 args);
34 }
35