JianyuWang0623 opened a new pull request, #2742:
URL: https://github.com/apache/nuttx-apps/pull/2742

   ## Summary
   Using `syslog()` to print log.
   modprint uses `syslog()`, but main uses `printf()`:
   ```
   nsh> sotest | cat
   [ 5] sotest: module_initialize
   [ 5] sotest: testfunc1: Hello, everyone!
   [ 5] sotest:    caller: Hello to you too!
   [ 5] sotest: testfunc2: Hope you are having a great day!
   [ 5] sotest:    caller: Not so bad so far.
   [ 5] sotest: testfunc3: Let's talk again very soon
   [ 5] sotest:    caller: Yes, don't be a stranger!
   [ 5] sotest: module_uninitialize
   main: Registering romdisk at /dev/ram0
   main: Registering romdisk at /dev/ram1
   main: Registering romdisk at /dev/ram2
   main: Registering romdisk at /dev/ram3
   main: Mounting ROMFS filesystem at target=/mnt/sotest/romfs with 
source=/dev/ram3
   nsh>
   ```
   
   ## Impact
   sotest
   
   ## Testing
   1. sim:nsh
   2. CI
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to