Question

I developed a static Console class that writes any traces, successes, and errors to a log file. It requires a file path String and a LoaderInfo instance to get started. At the moment, the function is named start(path, loaderInfo). I'm not really feeling the name "start", so I'm wondering if there's something more accurate. To me, start methods always have end/stop methods, but since this one doesn't, "start" doesn't seem appropriate.

Was it helpful?

Solution

init (unless thats taken?)

OTHER TIPS

How about a touch of the Patrick Stewart?

makeItSo();

Console.logTo(path, loaderInfo) ?

I would go with startLogging(), then to be followed up by stopLogging().

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top