File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -314,25 +314,25 @@ Pure subroutine
314
314
#### Example
315
315
316
316
``` fortran
317
- module example_mod
318
- use stdlib_logger
319
- ...
320
- type(logger_type) :: logger
317
+ module example_mod
318
+ use stdlib_logger
319
+
320
+ type(logger_type) :: logger
321
321
contains
322
- ...
323
- subroutine example_sub(unit, ...)
322
+
323
+ subroutine example_sub(unit, ...)
324
324
integer, intent(in) :: unit
325
- ...
325
+
326
326
integer, allocatable :: log_units(:)
327
- ...
327
+
328
328
call logger % configuration( log_units=log_units )
329
329
if ( size(log_units) == 0 ) then
330
330
call add_logger_unit( unit )
331
331
end if
332
- ..
333
- end subroutine example_sub
334
- ...
335
- end module example_mod
332
+
333
+ end subroutine example_sub
334
+
335
+ end module example_mod
336
336
```
337
337
338
338
### ` configure ` - configure the logging process
You can’t perform that action at this time.
0 commit comments