usim

Log

Log is a ubiquant infrastructure that will record centralized logs

Sample Config:

<log level="debug"
shm="usimlog"
logfile="usim_${YYYYMMDD}.log"
print="true"
printno="false" count="100000"/>
Parameter type description
level string error/debug/info
shm string Share memory name that the log will be written into. This should be unique system widely.
logfile string filename to output log to
print bool true to print to screen, false to print to file
printno bool true to print file name and line number
count int estimation of how many lines of log

Later in your alpha, you can use LOG_INFO, LOG_ERROR, LOG_DEBUG to output your logs.