Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #33338

Re: method parameter binding

Newsgroups comp.lang.java.programmer
Date 2015-12-10 08:41 -0800
References <6bfa4a78-934e-4f90-8e5f-a2f56e529842@googlegroups.com> <b3b24809-56ed-4aa5-ac5f-f5893571d451@googlegroups.com> <n4c8dt$kki$1@news.albasani.net> <n4c8q6$lev$1@news.albasani.net> <n4c957$m15$1@news.albasani.net>
Message-ID <ff81c1b9-24c9-48e1-babb-2b633e520bb2@googlegroups.com> (permalink)
Subject Re: method parameter binding
From Eric Douglas <e.d.programmer@gmail.com>

Show all headers | View raw


On Thursday, December 10, 2015 at 11:27:35 AM UTC-5, Jan Burse wrote:
> Jan Burse schrieb:
> >          System.err.println("test.get(1L, 2L)="+test.get(1L, 2L));
> >          System.err.println("test.get(1.0, 2.0)="+test.get(1.0, 2.0));
> >          System.err.println("test.get(1, 2)="+test.get(1, 2));
> 
> I put on purpose System.err.println and not System.out.println,
> since my IDE, IntelliJ, since some recent release scrambles
> err and out, so that it doesn't show in the order the
> println were emitted.
> 
> Very annoying, sometimes I don't find which exceptions
> matches to which step in the program.
> 
> Bye

I've only ever used Eclipse for Java code and never had such problem.  Do you use IntelliJ for any particular reason other than personal preference?

Everywhere in my custom API that I need to print a standard out message for logging I just call my own custom log class, so I can just edit that class if I want to hide or redirect all messages, and I can add common text to every message.  From there I call Thread.currentThread().getStackTrace() so I can show which class, which method, which line number the message came from.

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

method parameter binding Philipp Kraus <philipp.kraus.flashpixx@gmail.com> - 2015-12-10 07:44 -0800
  Re: method parameter binding Eric Douglas <e.d.programmer@gmail.com> - 2015-12-10 07:53 -0800
    Re: method parameter binding Jan Burse <janburse@fastmail.fm> - 2015-12-10 17:14 +0100
      Re: method parameter binding Eric Douglas <e.d.programmer@gmail.com> - 2015-12-10 08:20 -0800
        Re: method parameter binding Jan Burse <janburse@fastmail.fm> - 2015-12-10 17:23 +0100
          Re: method parameter binding Jan Burse <janburse@fastmail.fm> - 2015-12-10 17:23 +0100
      Re: method parameter binding Jan Burse <janburse@fastmail.fm> - 2015-12-10 17:21 +0100
        Re: method parameter binding Jan Burse <janburse@fastmail.fm> - 2015-12-10 17:27 +0100
          Re: method parameter binding Jan Burse <janburse@fastmail.fm> - 2015-12-10 17:28 +0100
            Re: method parameter binding Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-12-10 11:35 -0500
              Re: method parameter binding Martin Gregorie <martin@address-in-sig.invalid> - 2015-12-10 18:00 +0000
          Re: method parameter binding Eric Douglas <e.d.programmer@gmail.com> - 2015-12-10 08:41 -0800
            Re: method parameter binding j4n bur53 <janburse@fastmail.fm> - 2015-12-10 19:29 +0100
  Re: method parameter binding Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-12-10 11:33 -0500
  Re: method parameter binding Jan Burse <janburse@fastmail.fm> - 2015-12-10 22:34 +0100
    Re: method parameter binding Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-12-10 17:09 -0500
      Re: method parameter binding j4n bur53 <janburse@fastmail.fm> - 2015-12-11 09:27 +0100

csiph-web