logger_t Derived Type

type, public :: logger_t


Components

Type Visibility Attributes Name Initial
integer, public :: log_unit = error_unit
character(len=:), public, allocatable :: log_file_name

Finalization Procedures

final :: finalize

  • private subroutine finalize(this)

    Arguments

    Type IntentOptional Attributes Name
    type(logger_t) :: this

Type-Bound Procedures

procedure, public :: log_open

  • private function log_open(this, fname) result(res)

    Arguments

    Type IntentOptional Attributes Name
    class(logger_t) :: this
    character(len=*), intent(in) :: fname

    Return Value integer

procedure, public :: log_close

  • private function log_close(this) result(res)

    Arguments

    Type IntentOptional Attributes Name
    class(logger_t) :: this

    Return Value integer

procedure, public :: timestamp

  • private subroutine timestamp(this, message)

    Arguments

    Type IntentOptional Attributes Name
    class(logger_t) :: this
    character(len=*), intent(in) :: message