Coder Social home page Coder Social logo

Comments (5)

Frezyx avatar Frezyx commented on August 16, 2024

Hello @cai3804007 ! Please provide info about your code editor

from talker.

Frezyx avatar Frezyx commented on August 16, 2024

Maybe this issue related to #200

from talker.

cai3804007 avatar cai3804007 commented on August 16, 2024

你好@cai3804007!请提供有关您的代码编辑器的信息

void main() {
// Create instance
final logger = TalkerLogger();
// Log messages
logger.debug('debug');
logger.info('info');
logger.critical('critical');
logger.error('error');
logger.warning('warning');
logger.verbose('verbose');
logger.log('log with level info', level: LogLevel.info);
logger.log('custom pen log', pen: AnsiPen()..xterm(49));

runApp(const MyApp());
}

The above code has no output in the main function,In the case of an emulator, but the real device has an output。

Android Studio Iguana | 2023.2.1 Patch 1
Build #AI-232.10300.40.2321.11567975, built on March 13, 2024
MacBook Air Apple M1

from talker.

davidnwaneri avatar davidnwaneri commented on August 16, 2024

I am also experiencing this issue. I do not think it is related to #200, I experienced that issue which has now been fixed.

I tried this with talker_dio_logger version:

  • 4.2.3
  • 4.1.5
  • 2.4.0

IDE info:

Android Studio Jellyfish | 2023.3.1 Patch 1
Build #AI-233.14808.21.2331.11842104, built on May 15, 2024
Runtime version: 17.0.10+0-17.0.10b1087.21-11572160 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.5

MacBook Pro Apple M1

iOS simulator device: iPhone 15 - I believe it is the same for any iOS simulator.

from talker.

fpbouchard avatar fpbouchard commented on August 16, 2024

I'm using Flutter 3.19.6, and talker 4.2.3. When running the app using flutter run on an iOS emultaor, I get nothing in the terminal. By looking at the source code of talker_flutter, when it detects that it is running on iOS or macOS it is using dart:developer's log function and then returns. However, developer.log() actually emits an event that is then shown in the devtools, but does not output to stdout.

Not sure what the expected behavior is here.

see: https://stackoverflow.com/a/69697012

from talker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.