Module: Log#

Logging utilities

Name

mod_mupro_log

Depends on

None

Defined variables

None

Defined types

None

Defined subroutines
  • mupro_print_variable

  • mupro_print_message

Defined Subroutines#

mupro_print_variable#

A generic interface for printing variables to the screen. You have several choices of subroutine interfaces that you may use.

call mupro_print_variable(name,value1)

call mupro_print_variable(name,value1, value2)

call mupro_print_variable(name,value1, value2, value3)

call mupro_print_variable(name,value1, value2, value3, value4, value5, value6)

Argument

Type(Intent)

Meaning

name

character(len=*)(IN)

Name of the variable to be printed

value

int32/real64/logical(IN)

Value of the variable to be printed

mupro_print_message#

Print a string to the screen

call mupro_print_message(message, fill, position)

Argument

Type(Intent)

Meaning

message

character(len=*)(IN)

The string to be printed

fill

character(len=1)(IN)

The character to fill left over spaces

position

character(len=1)(IN)

Pass ‘c’ for center, ‘r’ for right, ‘l’ for left align