@@ -75,14 +75,16 @@ significant events encountered during the execution of a program.
75
75
76
76
### Private attributes
77
77
78
- | Attribute | Type | Description | Initial value
79
- |------------------|---------------|-------------------------------------------------|--------------
80
- | ` add_blank_line ` | Logical | Flag to precede output with a blank line | ` .false. `
81
- | ` indent_lines ` | Logical | Flag to indent subsequent lines by four columns | ` .true. `
82
- | ` log_units ` | Integer array | List of I/O units used for output | empty
83
- | ` max_width ` | Integer | Maximum column width of output | 0
84
- | ` time_stamp ` | Logical | Flag to precede output by a time stamp | ` .true. `
85
- | ` units ` | Integer | Count of the number of active output units | 0
78
+ | Attribute | Type | Description | Initial value |
79
+ | ------------------| ---------------| -------------------------------------------------| --------------|
80
+ | ` add_blank_line ` | Logical | Flag to precede output with a blank line | ` .false. ` |
81
+ | ` buffer ` | Character(:) | Buffer to build output string | Unallocated |
82
+ | ` indent_lines ` | Logical | Flag to indent subsequent lines by four columns | ` .true. ` |
83
+ | ` len_buffer ` | Integer | Number of valid characters in buffer | 0 |
84
+ | ` log_units ` | Integer array | List of I/O units used for output | Unallocated |
85
+ | ` max_width ` | Integer | Maximum column width of output | 0 |
86
+ | ` time_stamp ` | Logical | Flag to precede output by a time stamp | ` .true. ` |
87
+ | ` units ` | Integer | Count of the number of active output units | 0 |
86
88
87
89
## The ` stdlib_logger ` variable
88
90
@@ -285,7 +287,7 @@ Pure subroutine
285
287
286
288
#### Arguments
287
289
288
- ` self ` : shall be a scalar variable of type ` logger_type ` . It is an
290
+ ` self ` : shall be a scalar expression of type ` logger_type ` . It is an
289
291
` intent(in) ` argument. It shall be the logger whose configuration is reported.
290
292
291
293
` add_blank_line ` (optional): shall be a scalar default logical
@@ -415,11 +417,13 @@ Subroutine
415
417
416
418
#### Arguments
417
419
418
- ` self ` : shall be a scalar expression of type ` logger_type ` . It is an
419
- ` intent(in ) ` argument. It is the logger used to send the message.
420
+ ` self ` : shall be a scalar variable of type ` logger_type ` . It is an
421
+ ` intent(inout ) ` argument. It is the logger used to send the message.
420
422
421
423
` message ` : shall be a scalar default character expression. It is an
422
- ` intent(in) ` argument.
424
+ ` intent(in) ` argument.
425
+
426
+ * Note ` message ` may have embedded new_line calls.
423
427
424
428
` module ` (optional): shall be a scalar default character
425
429
expression. It is an ` intent(in) ` argument. It should be the name of
@@ -496,12 +500,14 @@ Subroutine
496
500
497
501
#### Arguments
498
502
499
- ` self ` : shall be a scalar expression of type ` logger_type ` . It is an
500
- ` intent(in ) ` argument. It is the logger used to send the message.
503
+ ` self ` : shall be a scalar variable of type ` logger_type ` . It is an
504
+ ` intent(inout ) ` argument. It is the logger used to send the message.
501
505
502
506
` message ` : shall be a scalar default character expression. It is an
503
507
` intent(in) ` argument.
504
508
509
+ * Note ` message ` may have embedded new_line calls.
510
+
505
511
` module ` (optional): shall be a scalar default character
506
512
expression. It is an ` intent(in) ` argument. It should be the name of
507
513
the module containing the ` log_information ` call.
@@ -565,12 +571,14 @@ written.
565
571
Subroutine
566
572
567
573
#### Arguments
568
- ` self ` : shall be a scalar expression of type ` logger_type ` . It is an
569
- ` intent(in ) ` argument. It is the logger used to send the message.
574
+ ` self ` : shall be a scalar variable of type ` logger_type ` . It is an
575
+ ` intent(inout ) ` argument. It is the logger used to send the message.
570
576
571
577
` message ` : shall be a scalar default character expression. It is an
572
578
` intent(in) ` argument.
573
579
580
+ * Note ` message ` may have embedded new_line calls.
581
+
574
582
` module ` (optional): shall be a scalar default character
575
583
expression. It is an ` intent(in) ` argument. It should be the name of
576
584
the module containing the ` log_io_error ` call.
@@ -641,12 +649,14 @@ Subroutine
641
649
642
650
#### Arguments
643
651
644
- ` self ` : shall be a scalar expression of type ` logger_type ` . It is an
645
- ` intent(in ) ` argument. It is the logger used to send the message.
652
+ ` self ` : shall be a scalar variable of type ` logger_type ` . It is an
653
+ ` intent(inout ) ` argument. It is the logger used to send the message.
646
654
647
655
` message ` : shall be a scalar default character expression. It is an
648
656
` intent(in) ` argument.
649
657
658
+ * Note ` message ` may have embedded new_line calls.
659
+
650
660
` module ` (optional): shall be a scalar default character
651
661
expression. It is an ` intent(in) ` argument. It should be the name of
652
662
the module containing the ` log_message ` call.
@@ -715,8 +725,8 @@ Subroutine
715
725
716
726
#### Arguments
717
727
718
- ` self ` : shall be a scalar expression of type ` logger_type ` . It is an
719
- ` intent(in ) ` argument. It is the logger used to send the message.
728
+ ` self ` : shall be a scalar variable of type ` logger_type ` . It is an
729
+ ` intent(inout ) ` argument. It is the logger used to send the message.
720
730
721
731
` line ` : shall be a scalar default character expression. It is an
722
732
` intent(in) ` argument. It should be the line of text in which the
@@ -861,12 +871,14 @@ Subroutine
861
871
862
872
#### Arguments
863
873
864
- ` self ` : shall be a scalar expression of type ` logger_type ` . It is an
865
- ` intent(in ) ` argument. It is the logger used to send the message.
874
+ ` self ` : shall be a scalar variable of type ` logger_type ` . It is an
875
+ ` intent(inout ) ` argument. It is the logger used to send the message.
866
876
867
877
` message ` : shall be a scalar default character expression. It is an
868
878
` intent(in) ` argument.
869
879
880
+ * Note ` message ` may have embedded new_line calls.
881
+
870
882
` module ` : (optional) shall be a scalar default character
871
883
expression. It is an ` intent(in) ` argument. It should be the name of
872
884
the module containing the ` log_warning ` call.
@@ -924,7 +936,7 @@ Subroutine
924
936
925
937
#### Arguments
926
938
927
- ` self ` : shall be a scalar expression of type ` logger_type ` . It is an
939
+ ` self ` : shall be a scalar variable of type ` logger_type ` . It is an
928
940
` intent(inout) ` argument. It is the logger whose ` log_units ` is to be
929
941
modified.
930
942
0 commit comments