LoggingModule Module

A module for writing data to the log file.



Contents


Interfaces

public interface WriteListElement

  • private subroutine WriteListElement_bool(key, value)

    Write out a list element.

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: key

    Some text to write.

    logical, intent(in) :: value

    A bool value to write.

  • private subroutine WriteListElement_float(key, value)

    Write out a list element.

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: key

    Some text to write.

    real(kind=NTReal), intent(in) :: value

    A float value to write.

  • private subroutine WriteListElement_int(key, value)

    Write out a list element.

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: key

    Some text to write.

    integer, intent(in) :: value

    An integer value to write.

  • private subroutine WriteListElement_string(key, value)

    Write out a list element.

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: key

    Some text to write.

    character(len=*), intent(in) :: value

    A text value to write.

public interface WriteElement

  • private subroutine WriteElement_bool(key, value)

    Write out a element.

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: key

    Some text to write.

    logical, intent(in) :: value

    An integer value to write.

  • private subroutine WriteElement_float(key, value)

    Write out a element.

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: key

    Some text to write.

    real(kind=NTReal), intent(in) :: value

    A float value to write.

  • private subroutine WriteElement_int(key, value)

    Write out a element.

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: key

    Some text to write.

    integer, intent(in) :: value

    An integer value to write.

  • private subroutine WriteElement_string(key, value)

    Write out a element.

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: key

    Some text to write.

    character(len=*), intent(in), optional :: value

    A text value to write.


Subroutines

public subroutine ActivateLogger()

Activate the logger.

Arguments

None

public subroutine DeactivateLogger()

Deactivate the logger.

Arguments

None

public subroutine EnterSubLog()

Call this subroutine when you enter into a section with verbose output

Arguments

None

public subroutine ExitSubLog()

Call this subroutine when you exit a section with verbose output

Arguments

None

public subroutine WriteHeader(header_value)

Write out a header to the log.

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: header_value

The text of the header.

public subroutine WriteCitation(citation_list)

Write out a citation element.

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: citation_list

A list of citations, separated by a space.