Simulation Core
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
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