Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 583 Bytes

README.md

File metadata and controls

40 lines (27 loc) · 583 Bytes

fa_dart_logger

Official FA Dart logger package.

Getting Started

Add following code in pubspec.yaml file in dependencies:

  fa_dart_logger:
    git:
      url: https://github.com/FieldAssist/fa_dart_logger.git
      ref: main

Usage

To use add following line as top level variable anywhere in your project

final AppLog logger = AppLogImpl();

Debug

logger.d("debug value: $token");

Exception

logger.e(e,stacktrace); // Use StackTrace.current in case no stacktrace available

Info

logger.i("Api response: xyz");