Skip to content

Commit

Permalink
Reintroduce P3Client>>#verbose: now using P3LogEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Van Caekenberghe committed Sep 21, 2020
1 parent e0909b9 commit b605a13
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions P3/P3Client.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -953,6 +953,17 @@ P3Client >> user: string [
settings at: #user put: string
]

{ #category : #accessing }
P3Client >> verbose: flag [
"Enable logging to the Transcript when flag is true.
Disable logging to the Transcript when flag is false.
Note that P3 uses object logging, with which can do much more than output plain strings."

flag
ifTrue: [ P3LogEvent logToTranscript ]
ifFalse: [ P3LogEvent stopLoggingToTranscript ]
]

{ #category : #'input/output' }
P3Client >> writeDescribeMessage: aName type: aChar [
"Type $S to describe a prepared statement; or $P to describe a portal."
Expand Down

0 comments on commit b605a13

Please sign in to comment.