ObjFW
Classes | Functions | Variables
OFStdIOStream.h File Reference
#import "OFStream.h"
#import "OFKernelEventObserver.h"
Include dependency graph for OFStdIOStream.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OFStdIOStream
 A class for providing standard input, output and error as OFStream. More...
 

Functions

void of_log (OFConstantString *format,...)
 Log the specified printf-style format to of_stderr. More...
 

Variables

OFStdIOStream *_Nullable of_stdin
 The standard input as an OFStream.
 
OFStdIOStream *_Nullable of_stdout
 The standard output as an OFStream.
 
OFStdIOStream *_Nullable of_stderr
 The standard error as an OFStream.
 

Function Documentation

◆ of_log()

void of_log ( OFConstantString format,
  ... 
)

Log the specified printf-style format to of_stderr.

This prefixes the output with the date, timestamp, process name and PID and allows %@ as a printf-style formatted to print objects.