Skip to content

Commit e54f92a

Browse files
authored
Merge pull request #253 from jvdp1/test_logger
Logger: move self%buffer and seld%len_buffer to local variables
2 parents 1002ca7 + 9dcb787 commit e54f92a

File tree

2 files changed

+89
-90
lines changed

2 files changed

+89
-90
lines changed

doc/specs/stdlib_logger.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,7 @@ significant events encountered during the execution of a program.
8484
| Attribute | Type | Description | Initial value |
8585
|------------------|---------------|-------------------------------------------------|--------------|
8686
| `add_blank_line` | Logical | Flag to precede output with a blank line | `.false.` |
87-
| `buffer` | Character(:) | Buffer to build output string | Unallocated |
8887
| `indent_lines` | Logical | Flag to indent subsequent lines by four columns | `.true.` |
89-
| `len_buffer` | Integer | Number of valid characters in buffer | 0 |
9088
| `log_units` | Integer array | List of I/O units used for output | Unallocated |
9189
| `max_width` | Integer | Maximum column width of output | 0 |
9290
| `time_stamp` | Logical | Flag to precede output by a time stamp | `.true.` |
@@ -425,7 +423,7 @@ Subroutine
425423
#### Arguments
426424

427425
`self`: shall be a scalar variable of type `logger_type`. It is an
428-
`intent(inout)` argument. It is the logger used to send the message.
426+
`intent(in)` argument. It is the logger used to send the message.
429427

430428
`message`: shall be a scalar default character expression. It is an
431429
`intent(in)` argument.
@@ -508,7 +506,7 @@ Subroutine
508506
#### Arguments
509507

510508
`self`: shall be a scalar variable of type `logger_type`. It is an
511-
`intent(inout)` argument. It is the logger used to send the message.
509+
`intent(in)` argument. It is the logger used to send the message.
512510

513511
`message`: shall be a scalar default character expression. It is an
514512
`intent(in)` argument.
@@ -579,7 +577,7 @@ Subroutine
579577

580578
#### Arguments
581579
`self`: shall be a scalar variable of type `logger_type`. It is an
582-
`intent(inout)` argument. It is the logger used to send the message.
580+
`intent(in)` argument. It is the logger used to send the message.
583581

584582
`message`: shall be a scalar default character expression. It is an
585583
`intent(in)` argument.
@@ -657,7 +655,7 @@ Subroutine
657655
#### Arguments
658656

659657
`self`: shall be a scalar variable of type `logger_type`. It is an
660-
`intent(inout)` argument. It is the logger used to send the message.
658+
`intent(in)` argument. It is the logger used to send the message.
661659

662660
`message`: shall be a scalar default character expression. It is an
663661
`intent(in)` argument.
@@ -733,7 +731,7 @@ Subroutine
733731
#### Arguments
734732

735733
`self`: shall be a scalar variable of type `logger_type`. It is an
736-
`intent(inout)` argument. It is the logger used to send the message.
734+
`intent(in)` argument. It is the logger used to send the message.
737735

738736
`line`: shall be a scalar default character expression. It is an
739737
`intent(in)` argument. It should be the line of text in which the
@@ -879,7 +877,7 @@ Subroutine
879877
#### Arguments
880878

881879
`self`: shall be a scalar variable of type `logger_type`. It is an
882-
`intent(inout)` argument. It is the logger used to send the message.
880+
`intent(in)` argument. It is the logger used to send the message.
883881

884882
`message`: shall be a scalar default character expression. It is an
885883
`intent(in)` argument.

0 commit comments

Comments
 (0)