spx_logger Module

日志


Uses

    • fffc_module

Contents


Variables

Type Visibility Attributes Name Initial
type(logger), public :: lgr_obj
type(timer), public :: tmr_obj

Derived Types

type, private ::  logger

日志

Components

Type Visibility Attributes Name Initial
integer, public :: unit

日志文件单元号

character(len=7), public :: filename = 'spx.log'

日志文件名

character(len=34), public :: fmt = '(a, t20, ": ", *(g0.4, :, ", "))'

数据日志格式

character(len=34), public :: longfmt = '(a, t40, ": ", *(g0.4, :, ", "))'

数据日志长格式

Type-Bound Procedures

procedure , public , :: destory Subroutine
procedure , public , :: init Subroutine

Subroutines

private subroutine init(self)

初始化

Arguments

Type IntentOptional Attributes Name
class(logger), intent(inout) :: self

private subroutine destory(self)

关闭

Arguments

Type IntentOptional Attributes Name
class(logger), intent(inout) :: self