Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 966911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T02:14:04+00:00 2026-05-16T02:14:04+00:00

I have a custom logging function to log to the firebug console that looks

  • 0

I have a custom logging function to log to the firebug console that looks like this:

// the name here is just for fun
function ninjaConsoleLog() {
    var slicer = Array.prototype.slice;
    var args = slicer.call(arguments);
    console.log(args);
}

And it works exactly like I want it to….except that if I have string values longer than about 7 words in the array, the firebug console hides the string value except for the first two words and the last two words. (approx.)

Example:

ninjaConsoleLog("This is a longish string, like the energizer bunny, it just keeps going and going and going.");

The aforementioned function call results in the following output to the firebug console:

["This is a longish strin...going and going."]

This would be fine, except that sometimes the part of the string that the console abbreviates contains important data.

First off, why does this happen?

Second, with my current logging function, is there anyway that I can either force the console to output the full string value for each item in the array? Or just view the entire string when viewing the console’s output?

Or is this not possible?

Thanks!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T02:14:05+00:00Added an answer on May 16, 2026 at 2:14 am

    Try changing it to console.dir(args) instead of console.log(args)

    Also you should be able to click on the values in firebug console to expand them to their full values
    There will be either a plus in a box symbol or when you mouse over the value it will become underlined, which means clicking on it will expand to its full value

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have custom validation rule: public function customRule($check) { } Inside this rule I
i have custom cell with 2 buttons(the function of these buttons is just to
I have a custom helper that i use for logging. Within one of the
I have a program I'm writing that I want to write a custom logging
I have a custom handler like this, public class Handler : IHttpHandler { public
I have an Apache server that writes to a custom log file (through a
I have custom UITableViewCell . It contains UITextLabel . When I press this cell
I have custom classes that I currently instantiate within App.xaml as resources. I want
I have custom event that has several different subscribers who will all use the
I have custom gallery. Gallery represents items that are frame layout. There are one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.