kim-api 2.3.0+AppleClang.AppleClang.GNU
An Application Programming Interface (API) for the Knowledgebase of Interatomic Models (KIM).
Loading...
Searching...
No Matches
Data Types | Functions/Subroutines | Variables
kim_log_module Module Reference

Provides the logging interface for the KIM API. More...

Data Types

interface  kim_convert_c_string
 Convert a c sting to a Fortran string. More...
 
interface  kim_get_id
 Get the identity of the Log object. More...
 
interface  kim_log_entry
 Write a log entry into the log file. More...
 
type  kim_log_handle_type
 Provides the logging interface for the KIM API. More...
 
interface  kim_pop_default_print_function
 Pop a log PrintFunction from the KIM API global default log PrintFunction stack. More...
 
interface  kim_pop_default_verbosity
 Pop a LogVerbosity from the KIM API global default verbosity stack. More...
 
interface  kim_pop_verbosity
 Pop a LogVerbosity from the Log object's verbosity stack. More...
 
interface  kim_push_default_print_function
 Push a new default log PrintFunction onto the KIM API global default log PrintFunction stack. More...
 
interface  kim_push_default_verbosity
 Push a new default LogVerbosity onto the KIM API global default verbosity stack. More...
 
interface  kim_push_verbosity
 Push a new LogVerbosity onto the Log object's verbosity stack. More...
 
interface  kim_set_id
 Set the identity of the Log object. More...
 
interface  operator(.eq.)
 Compares kim_log_handle_type's for equality. More...
 
interface  operator(.ne.)
 Compares kim_log_handle_type's for inequality. More...
 

Functions/Subroutines

recursive subroutine, public kim_log_create (log_handle, ierr)
 Create a new KIM API Log object.
 
recursive subroutine, public kim_log_destroy (log_handle)
 Destroy a previously Log::Create'd object.
 

Variables

type(kim_log_handle_type), save, public, protected kim_log_null_handle
 NULL handle for use in comparisons.
 

Detailed Description

Provides the logging interface for the KIM API.

See also
KIM::Log, KIM_Log
Since
2.0

Function/Subroutine Documentation

◆ kim_log_create()

recursive subroutine, public kim_log_module::kim_log_create ( type(kim_log_handle_type), intent(out)  log_handle,
integer(c_int), intent(out)  ierr 
)

Create a new KIM API Log object.

See also
KIM::Log::Create, KIM_Log_Create
Since
2.0

Definition at line 210 of file kim_log_module.f90.

◆ kim_log_destroy()

recursive subroutine, public kim_log_module::kim_log_destroy ( type(kim_log_handle_type), intent(inout)  log_handle)

Destroy a previously Log::Create'd object.

See also
KIM::Log::Destroy, KIM_Log_Destroy
Since
2.0

Definition at line 234 of file kim_log_module.f90.

Variable Documentation

◆ kim_log_null_handle

type(kim_log_handle_type), save, public, protected kim_log_module::kim_log_null_handle

NULL handle for use in comparisons.

Since
2.0

Definition at line 73 of file kim_log_module.f90.