It depends on how you use it.
Whenever you see a lightning explorer map, like this one for example, that only shows the public nodes. You can get some kind of information about these nodes.
But, you can create a private channel between 2 peers without anyone else in the world knowing anything about it.