Skip to content

Commit f870c70

Browse files
milancurcicjvdp1
andauthored
Update doc/specs/stdlib_logger.md
Co-authored-by: Jeremie Vandenplas <jeremie.vandenplas@gmail.com>
1 parent 30573ca commit f870c70

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

doc/specs/stdlib_logger.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -815,24 +815,24 @@ The result is the number of I/O units in
815815
#### Example
816816

817817
```fortran
818-
module example_mod
819-
use stdlib_logger
820-
...
821-
type(logger_type) :: logger
818+
module example_mod
819+
use stdlib_logger
820+
821+
type(logger_type) :: logger
822822
contains
823-
...
824-
subroutine example_sub(unit, ...)
823+
824+
subroutine example_sub(unit, ...)
825825
integer, intent(in) :: unit
826-
...
826+
827827
integer, allocatable :: log_units(:)
828-
...
828+
829829
if ( logger % log_units_assigned() == 0 ) then
830830
call logger % add_log_unit( unit )
831831
end if
832-
...
833-
end subroutine example_sub
834-
...
835-
end module example_mod
832+
833+
end subroutine example_sub
834+
835+
end module example_mod
836836
```
837837

838838
### `log_warning` - write the string `message` to `log_units`

0 commit comments

Comments
 (0)