Ionic logging


#1

Hello,

I am using the ionic-logging-service for making logs.
I build my app for ios with “ionic cordova build ios –prod”, but I don’t get any log prints. My phone is connected with PC via USB and I expect that I get logs in the XCode builder. Any idea?


#2

Can you provide a link to what you are talking about?


#3

https://www.npmjs.com/package/ionic-logging-service


#4

What kind of output are you expecting? And where?

Which appender are you using? BrowserConsoleAppender or MemoryAppender?

See: https://robferguson.org/blog/2017/09/09/a-simple-logging-service-for-angular-4/


#5

I wanna get logging outputs when İ use IOS device. The ouputs can be printed out in xcode console or somewhere else.


#6

-> I wanna get logging outputs when İ use IOS device. The ouputs can be printed out in xcode console or somewhere else.

ionic-logging-service doesn’t support what you want to do.

See: https://github.com/Ritzlgrmft/ionic-logging-service


#7

See: