Simulation Core
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 regels
251 B

  1. module logging
  2. integer::log_level=0
  3. contains
  4. subroutine logg(level,message)
  5. integer::level
  6. character(len=*)::message
  7. if(log_level>=level) then
  8. print *,message
  9. endif
  10. end subroutine
  11. end module