Ticket #35 (closed task: fixed)

Opened 3 years ago

Last modified 3 years ago

add hints and documentation for using console logger

Reported by: mb0 Owned by: mb0
Priority: major Milestone: xASDT 0.0.9 Release
Component: logger Version: 0.0.9
Keywords: Cc:

Description (last modified by mb0) (diff)

its not obvious how it works.

simple instruction:

  • link logger classes
  • add import loggers.*; to your main starter class
  • add Log.setLogger(SocketLogger?.LOGGER_NAME); to your static main
  • to use trace select select console logger in the build item config
  • add trace("Hello World") to you static main

Attachments

mylyn-context.zip Download (0.7 KB) - added by mb0 3 years ago.
mylyn/context/zip

Change History

Changed 3 years ago by mb0

  • we could add it as option for code generation to the new project wizard.
  • we could add some informations with the preference and to a new console logger view.
  • simplify the console logger api to use socket logger by default. so that we only need to add import Log; or just Log; to a method body once. (else mtasc would not compile Log)

Changed 3 years ago by mb0

  • owner changed from asdt.org to mb0
  • status changed from new to assigned
  • description modified (diff)

(i was wrong: no import is needed for tracing) i tested it and it is very straight forward as soon as the socketLogger is set to default. i added a screen cast where i create a tuto project in less than 2 minutes at  http://video.google.com/videoplay?docid=2350763622416782650 . i think it is fixed with that.

Changed 3 years ago by mb0

mylyn/context/zip

Changed 3 years ago by mb0

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.