Skip to content

WriteToLogFile : To send string to log file

UINT WriteToLogFile ( char* msg )
```### Description
This function will output text passed as parameter "msg" to all log files. The return value of this function will be 0 or 1.### Inputs
msg - Pointer to characterarray### Returns
A value zero indicate failure condition while a value 1 indicate a success condition. This function can return 0 in case logging is OFF or user has passed a NULL pointer.
---
**Authoritative source**: BUSMASTER DITA help source `WriteToLogFile.dita`, compiled into `BUSMASTER.CHM` with the application.