From 0b995536519a2c6af2bfaa6a0150d4d64e191a43 Mon Sep 17 00:00:00 2001 From: Sven Van Caekenberghe Date: Sat, 30 Sep 2023 19:43:43 +0200 Subject: [PATCH] More improvements to the printing of ZnLogEvents --- .../ZnClientLogEvent.class/instance/printHeaderOn..st | 2 +- .../ZnServerLogEvent.class/instance/printHeaderOn..st | 2 +- .../ZnServerStartedEvent.class/instance/printContentsOn..st | 2 +- .../ZnServerStoppedEvent.class/instance/printContentsOn..st | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/repository/Zinc-HTTP.package/ZnClientLogEvent.class/instance/printHeaderOn..st b/repository/Zinc-HTTP.package/ZnClientLogEvent.class/instance/printHeaderOn..st index b8a85da0..59ee5aa2 100644 --- a/repository/Zinc-HTTP.package/ZnClientLogEvent.class/instance/printHeaderOn..st +++ b/repository/Zinc-HTTP.package/ZnClientLogEvent.class/instance/printHeaderOn..st @@ -1,4 +1,4 @@ printing printHeaderOn: stream super printHeaderOn: stream. - clientId ifNotNil: [ stream space; << clientId ] \ No newline at end of file + clientId ifNotNil: [ stream space; << clientId asString ] \ No newline at end of file diff --git a/repository/Zinc-HTTP.package/ZnServerLogEvent.class/instance/printHeaderOn..st b/repository/Zinc-HTTP.package/ZnServerLogEvent.class/instance/printHeaderOn..st index d9ec94cf..fc9e7790 100644 --- a/repository/Zinc-HTTP.package/ZnServerLogEvent.class/instance/printHeaderOn..st +++ b/repository/Zinc-HTTP.package/ZnServerLogEvent.class/instance/printHeaderOn..st @@ -1,4 +1,4 @@ printing printHeaderOn: stream super printHeaderOn: stream. - serverId ifNotNil: [ stream space; << serverId ] \ No newline at end of file + serverId ifNotNil: [ stream space; << serverId asString ] \ No newline at end of file diff --git a/repository/Zinc-HTTP.package/ZnServerStartedEvent.class/instance/printContentsOn..st b/repository/Zinc-HTTP.package/ZnServerStartedEvent.class/instance/printContentsOn..st index 29af365c..7640d05c 100644 --- a/repository/Zinc-HTTP.package/ZnServerStartedEvent.class/instance/printContentsOn..st +++ b/repository/Zinc-HTTP.package/ZnServerStartedEvent.class/instance/printContentsOn..st @@ -1,4 +1,4 @@ printing printContentsOn: stream super printContentsOn: stream. - stream << 'Started '; << description \ No newline at end of file + description ifNotNil: [ stream << 'Started '; << description ] \ No newline at end of file diff --git a/repository/Zinc-HTTP.package/ZnServerStoppedEvent.class/instance/printContentsOn..st b/repository/Zinc-HTTP.package/ZnServerStoppedEvent.class/instance/printContentsOn..st index 796999e3..0fda449a 100644 --- a/repository/Zinc-HTTP.package/ZnServerStoppedEvent.class/instance/printContentsOn..st +++ b/repository/Zinc-HTTP.package/ZnServerStoppedEvent.class/instance/printContentsOn..st @@ -1,4 +1,4 @@ printing printContentsOn: stream super printContentsOn: stream. - stream << 'Stopped '; << description \ No newline at end of file + description ifNotNil: [ stream << 'Stopped '; << description ] \ No newline at end of file