DSIMA
 All Classes Namespaces Files Functions Variables
implementation.server.log Namespace Reference

Functions

def log
 Write a content to the log file in a thread-safe manner. More...
 

Variables

string LOG_FILE = "log-server.log"
 Log file path. More...
 
tuple logLock = threading.Lock()
 Semaphore to lock the logging. More...
 

Function Documentation

def implementation.server.log.log (   content)

Write a content to the log file in a thread-safe manner.

Parameters
contentContent to write.

Variable Documentation

string LOG_FILE = "log-server.log"

Log file path.

tuple logLock = threading.Lock()

Semaphore to lock the logging.