Skip to content

Logger : Undocumented configuration key 'log.style' #142

Description

@Serge-45

in src/docs/routing/error-handling.md

Undocumented configuration key 'log.style' :

app()->config([
  /* ... */
  'log.style' => 'linux',
  /* ... */
]);

According to the code, two possible values : 'linux' and 'leaf' (default).

        $formatted = $style === 'linux'
            ? "[$timestamp] $level$message\n\n"
            : "[$timestamp]\n$level$message\n\n";

I personnally prefer the linux style with everything on the same line.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions