Skip to content

Loading…

DBAL-797: [GH-519] Improve readability of EchoSQLLogger output format #2029

Closed
doctrinebot opened this Issue · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of sandvige:

Url: #519

Message:

When using EchoSQLLogger, the output format is a bit clumsy, and can be very hard to interpret. Here is just a fix to condensate a bit the output format when parameters and types are available.

Before:

array(4) {
  [0] =>
  array(1) {
    'NaPingSchd' =>
    int(2)
  }
  [1] =>
  int(60)
  [2] =>
  int(43200)
  [3] =>
  int(110)
}
array(4) {
  [0] =>
  string(3) "map"
  [1] =>
  string(7) "integer"
  [2] =>
  string(7) "integer"
  [3] =>
  string(7) "integer"
}

After:

array(4) {
  'map index: 0' =>
  array(1) {
    'NaPingSchd' =>
    int(2)
  }
  'integer index: 1' =>
  int(60)
  'integer index: 2' =>
  int(43200)
  'integer index: 3' =>
  int(110)
}
@doctrinebot

Comment created by @doctrinebot:

A related Github Pull-Request [GH-519] was closed:
#519

@doctrinebot

Issue was closed with resolution "Won't Fix"

@Ocramius Ocramius was assigned by doctrinebot
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.