Geotechnical and geological core logging