Using slogf(), logging can be done using slogger. Default log file path is /dev/slog. Using sloginfo logs are displayed in console. These log contain both user given and system log. How to save user defined logs alone to another file using slogger. Could you provide sample code for this ?
Thanks in advance