1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 06:28:42 +01:00

fix: adds long message for preview (#2672)

This commit is contained in:
Amir Raminfar
2024-01-08 15:53:02 -08:00
committed by GitHub
parent 3b5370fbae
commit 9a431dbcb0

View File

@@ -151,7 +151,7 @@ const fakeMessages = [
new SimpleLogEntry("and finally third line.", 5, new Date(), "error", "end", "stderr"),
new ComplexLogEntry(
{
message: "This is a complex log entry",
message: "This is a complex log entry as json",
context: {
key: "value",
key2: "value2",
@@ -163,6 +163,14 @@ const fakeMessages = [
"stdout",
keys,
),
new SimpleLogEntry(
"This is a very very long message which would wrap by default. Disabling soft wraps would disable this.",
7,
new Date(),
"debug",
undefined,
"stderr",
),
];
</script>
<style lang="postcss" scoped>