Answers for "logs java"

1

how to get logarithm in java

import java.lang.Math;
int y = 69;
double x = Math.log(y);   // this will return the log base e of a number

// for log base b (anything else from e)
double x = Math.log(y)/Math.log(b);   // this will return the log base b of a number
Posted by: Guest on April-24-2021
4

logging in java

In computing, a log file is a file that records either events that 
occur in an operating system or other software runs, or messages between 
different users of a communication software. Logging is the act of 
keeping a log. ... Many operating systems, software frameworks and 
programs include a logging system.
Posted by: Guest on November-14-2021

Browse Popular Code Answers by Language