TreeMig Code
|
LoggerModule. More...
Functions/Subroutines | |
subroutine | initlogger (log_file) |
InitLogger | |
subroutine | stoplogger () |
StopLogger | |
subroutine | logerror (msg) |
LogError | |
subroutine | logwarning (msg) |
LogError | |
subroutine | loginfo (msg) |
LogInfo | |
subroutine | logall (msgtype, msg) |
logAll | |
Variables | |
character(len=1024) | logmessage |
LoggerModule.
all kinds of logging (i.e. recording and outputting) errors and message, on screen and as file
subroutine loggermodule::initlogger | ( | type(file), intent(in) | log_file | ) |
InitLogger
opens and prepares the log file
Log_file | : file where logs should be outputted |
Definition at line 39 of file LoggerModule.f90.
subroutine loggermodule::logall | ( | character(len=*), intent(in) | msgtype, |
character(len=*), intent(in) | msg ) |
logAll
writes out a message to the screen and to the logfile
msgType | : type of message |
msg | : message |
Definition at line 134 of file LoggerModule.f90.
subroutine loggermodule::logerror | ( | character(len=*), intent(in) | msg | ) |
LogError
writes out an error message to all media (file, screen)
msg | : error message |
Definition at line 82 of file LoggerModule.f90.
subroutine loggermodule::loginfo | ( | character(len=*), intent(in) | msg | ) |
LogInfo
writes out an information message to all media (file, screen)
msg | : information message |
Definition at line 116 of file LoggerModule.f90.
subroutine loggermodule::logwarning | ( | character(len=*), intent(in) | msg | ) |
LogError
writes out a warning message to all media (file, screen)
msg | : warning message |
Definition at line 99 of file LoggerModule.f90.
subroutine loggermodule::stoplogger |
StopLogger
closes the log file
Log_file | : file where logs should be outputted |
Definition at line 64 of file LoggerModule.f90.
character(len=1024) loggermodule::logmessage |
Definition at line 16 of file LoggerModule.f90.