• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

LrLogger severity levels

Explorer ,
Mar 13, 2017 Mar 13, 2017

Copy link to clipboard

Copied

LrLogger contains a variety of logging functions at different severity levels - debug(), info(), warn(), trace() etc.

How does one toggle these severity levels on and off?

TOPICS
SDK

Views

369

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Mar 13, 2017 Mar 13, 2017

logger:enable (actions) controls what happens to each of "fatal", "error", "warn", "info", "debug", and "trace".  For example, to direct output to a logfile for "fatal" and "error" (and ignore the other levels);

logger:enable {fatal = "logfile", error = "logfile"}

Votes

Translate

Translate
LEGEND ,
Mar 13, 2017 Mar 13, 2017

Copy link to clipboard

Copied

logger:enable (actions) controls what happens to each of "fatal", "error", "warn", "info", "debug", and "trace".  For example, to direct output to a logfile for "fatal" and "error" (and ignore the other levels);

logger:enable {fatal = "logfile", error = "logfile"}

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 13, 2017 Mar 13, 2017

Copy link to clipboard

Copied

LATEST

Thank you very much johnrellis​! That's exactly what I was looking for.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines