Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log | additions #55

Open
3 tasks
a-givertzman opened this issue Feb 21, 2023 · 0 comments
Open
3 tasks

Log | additions #55

a-givertzman opened this issue Feb 21, 2023 · 0 comments

Comments

@a-givertzman
Copy link
Owner

a-givertzman commented Feb 21, 2023

  • add named constructor with custom level
Log.withLevel(
   String name,
   LogLevel level,
)
  • add optional parameter "method" in the Log.debug / info / warning / error to have following result in log:
flutter: [LoggerName.method] message
  • add method:
  /// Log message at level [Level.CONFIG].
  ///
  /// See [log] for information on how non-String [message] arguments are
  /// handled.
  void config(Object? message, [Object? error, StackTrace? stackTrace]) =>
    Logger(_name).log(LogLevel.config, message, error, stackTrace);


@a-givertzman a-givertzman added this to CMA Feb 21, 2023
@a-givertzman a-givertzman converted this from a draft issue Feb 21, 2023
@a-givertzman a-givertzman moved this from 🟢 Priority 3 to 🟠 Priority 2 in CMA Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🟠 Priority 2
Development

No branches or pull requests

1 participant