xsecurelock  1.7.0
XSecureLock is an X11 screen lock utility.
Functions
logging.h File Reference

Go to the source code of this file.

Functions

void Log (const char *format,...) __attribute__((format(printf
 Prints the given string to the error log (stderr). More...
 
void void LogErrno (const char *format,...) __attribute__((format(printf
 Prints the given string to the error log (stderr). More...
 

Function Documentation

◆ Log()

void Log ( const char *  format,
  ... 
)

Prints the given string to the error log (stderr).

For a format expanding to "Foo", this will log "xsecurelock: Foo.".

Parameters
formatA printf format string, followed by its arguments.

◆ LogErrno()

void void LogErrno ( const char *  format,
  ... 
)

Prints the given string to the error log (stderr).

For a format expanding to "Foo", this may log "xsecurelock: Foo: No such file or directory". The value of errno is preserved by this function.

Parameters
formatA printf format string, followed by its arguments.